Просмотр исходного кода

Update php.md

Added the built-in web server command.
Mario Döring 9 лет назад
Родитель
Сommit
e9ed9b5110
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      pages/common/php.md

+ 4 - 0
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}}`