File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change
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}} `
Original file line number Diff line number Diff line change 21
21
22
22
- Start a PHP built-in web [ S] erver in the current directory:
23
23
24
- ` php {{[-S|--server]}} {{host: port}} `
24
+ ` php {{[-S|--server]}} {{host}}:{{ port}} `
25
25
26
26
- List installed PHP extensions:
27
27
You can’t perform that action at this time.
0 commit comments