Update php.md
Added the built-in web server command.
This commit is contained in:
@@ -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}}`
|
||||||
|
Reference in New Issue
Block a user