mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 12:22:07 +02:00
Update php.md
Added the built-in web server command.
This commit is contained in:
parent
d58042bc91
commit
e9ed9b5110
1 changed files with 4 additions and 0 deletions
|
@ -17,3 +17,7 @@
|
|||
- Run PHP code. Notes: a) Don't use <? ?> tags; b) Escape double quotes with backslash
|
||||
|
||||
`php -r "{{code}}"`
|
||||
|
||||
- Start a PHP built-in web server in the current directory.
|
||||
|
||||
`php -S {{host:port}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue