1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 13:33:43 +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:
Jefferson Ventura 2025-08-10 05:23:28 -03:00 committed by GitHub
parent 1e4a4db014
commit 9012dcf098
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 37 additions and 1 deletions

36
pages.pt_BR/common/php.md Normal file
View 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}}`

View file

@ -21,7 +21,7 @@
- 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: