Skip to content

Commit 9012dcf

Browse files
jeffersonvventurarenieManagorsebastiaanspeck
authored
php: add pt_BR translation (#17415)
Co-authored-by: Renie Siqueira <[email protected]> Co-authored-by: Managor <[email protected]> Co-authored-by: Sebastiaan Speck <[email protected]>
1 parent 1e4a4db commit 9012dcf

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

pages.pt_BR/common/php.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# php
2+
3+
> Interface de linha de comando do PHP.
4+
> Mais informações: <https://php.net>.
5+
6+
- Analisa e executa um script PHP:
7+
8+
`php {{caminho/para/arquivo}}`
9+
10+
- Verifica a sintaxe (lint) de um script PHP:
11+
12+
`php {{[-l|--syntax-check]}} {{caminho/para/arquivo}}`
13+
14+
- Executa o PHP de forma interativa:
15+
16+
`php {{[-a|--interactive]}}`
17+
18+
- Executa código PHP (não use as tags `<? ?>`; escape aspas duplas com barra invertida):
19+
20+
`php {{[-r|--run]}} "{{código}}"`
21+
22+
- Inicia o servidor web embutido do PHP no diretório atual:
23+
24+
`php {{[-S|--server]}} {{servidor}}:{{porta}}`
25+
26+
- Lista as extensões do PHP instaladas:
27+
28+
`php {{[-m|--modules]}}`
29+
30+
- Exibe informações sobre a configuração atual do PHP:
31+
32+
`php {{[-i|--info]}}`
33+
34+
- Exibe informações sobre uma função específica:
35+
36+
`php {{[--rf|--rfunction]}} {{nome_da_função}}`

pages/common/php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
- Start a PHP built-in web [S]erver in the current directory:
2323

24-
`php {{[-S|--server]}} {{host:port}}`
24+
`php {{[-S|--server]}} {{host}}:{{port}}`
2525

2626
- List installed PHP extensions:
2727

0 commit comments

Comments
 (0)