From e9ed9b5110582db7c32dbfc32e30ef9bd1a09643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20D=C3=B6ring?= Date: Mon, 28 Dec 2015 14:30:32 +0100 Subject: [PATCH] Update php.md Added the built-in web server command. --- pages/common/php.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/php.md b/pages/common/php.md index d9b7a1e85c..a1e83e60d3 100644 --- a/pages/common/php.md +++ b/pages/common/php.md @@ -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}}`