mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 17:13:50 +02:00
php: add pt_BR translation (#17415)
Co-authored-by: Renie Siqueira <reniedev.github@3nie.com> Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
1e4a4db014
commit
9012dcf098
2 changed files with 37 additions and 1 deletions
36
pages.pt_BR/common/php.md
Normal file
36
pages.pt_BR/common/php.md
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# php
|
||||||
|
|
||||||
|
> Interface de linha de comando do PHP.
|
||||||
|
> Mais informações: <https://php.net>.
|
||||||
|
|
||||||
|
- Analisa e executa um script PHP:
|
||||||
|
|
||||||
|
`php {{caminho/para/arquivo}}`
|
||||||
|
|
||||||
|
- Verifica a sintaxe (lint) de um script PHP:
|
||||||
|
|
||||||
|
`php {{[-l|--syntax-check]}} {{caminho/para/arquivo}}`
|
||||||
|
|
||||||
|
- Executa o PHP de forma interativa:
|
||||||
|
|
||||||
|
`php {{[-a|--interactive]}}`
|
||||||
|
|
||||||
|
- Executa código PHP (não use as tags `<? ?>`; escape aspas duplas com barra invertida):
|
||||||
|
|
||||||
|
`php {{[-r|--run]}} "{{código}}"`
|
||||||
|
|
||||||
|
- Inicia o servidor web embutido do PHP no diretório atual:
|
||||||
|
|
||||||
|
`php {{[-S|--server]}} {{servidor}}:{{porta}}`
|
||||||
|
|
||||||
|
- Lista as extensões do PHP instaladas:
|
||||||
|
|
||||||
|
`php {{[-m|--modules]}}`
|
||||||
|
|
||||||
|
- Exibe informações sobre a configuração atual do PHP:
|
||||||
|
|
||||||
|
`php {{[-i|--info]}}`
|
||||||
|
|
||||||
|
- Exibe informações sobre uma função específica:
|
||||||
|
|
||||||
|
`php {{[--rf|--rfunction]}} {{nome_da_função}}`
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
- Start a PHP built-in web [S]erver in the current directory:
|
- Start a PHP built-in web [S]erver in the current directory:
|
||||||
|
|
||||||
`php {{[-S|--server]}} {{host:port}}`
|
`php {{[-S|--server]}} {{host}}:{{port}}`
|
||||||
|
|
||||||
- List installed PHP extensions:
|
- List installed PHP extensions:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue