mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-18 23:55:46 +02:00
Merge pull request #410 from mario-deluna/patch-1
Added built-in web server example to common/php.md
This commit is contained in:
commit
9afba49e86
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
|
- Run PHP code. Notes: a) Don't use <? ?> tags; b) Escape double quotes with backslash
|
||||||
|
|
||||||
`php -r "{{code}}"`
|
`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