svn: /phpdoc/en/trunk/features/ commandline.xml
| From: | Jakub Vrana | Date: | Tue, 13 Mar 2012 19:55:59 +0000 |
| Subject: | svn: /phpdoc/en/trunk/features/ commandline.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9878@lists.php.net to get a copy of this message | ||
vrana Tue, 13 Mar 2012 19:55:59 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=324201
Log:
PHP 5.4 options
Changed paths:
U phpdoc/en/trunk/features/commandline.xml
Modified: phpdoc/en/trunk/features/commandline.xml
===================================================================
--- phpdoc/en/trunk/features/commandline.xml 2012-03-13 19:21:05 UTC (rev 324200)
+++ phpdoc/en/trunk/features/commandline.xml 2012-03-13 19:55:59 UTC (rev 324201)
@@ -310,11 +310,11 @@
<screen>
<![CDATA[
Usage: php [options] [-f] <file> [--] [args...]
- php [options] -r <code> [--] [args...]
- php [options] [-B <begin_code>] -R <code> [-E <end_code>] [--] [args...]
- php [options] [-B <begin_code>] -F <file> [-E <end_code>] [--] [args...]
- php [options] -- [args...]
- php [options] -a
+ php [options] -r <code> [--] [args...]
+ php [options] [-B <begin_code>] -R <code> [-E <end_code>] [--] [args...]
+ php [options] [-B <begin_code>] -F <file> [-E <end_code>] [--] [args...]
+ php [options] -- [args...]
+ php [options] -a
-a Run interactively
-c <path>|<file> Look for php.ini file in this directory
@@ -332,6 +332,8 @@
-F <file> Parse and execute <file> for every input line
-E <end_code> Run PHP <end_code> after processing all input lines
-H Hide any passed arguments from external tools.
+ -S <addr>:<port> Run with built-in web server.
+ -t <docroot> Specify document root <docroot> for built-in web server.
-s Output HTML syntax highlighted source.
-v Version number
-w Output source with stripped comments and whitespace.
@@ -735,6 +737,25 @@
</entry>
</row>
<row>
+ <entry>-S</entry>
+ <entry>--server</entry>
+ <entry>
+ <para>
+ Starts <link linkend="features.commandline.webserver">built-in web
+ server</link>. Available as of PHP 5.4.0.
+ </para>
+ </entry>
+ </row>
+ <row>
+ <entry>-t</entry>
+ <entry>--docroot</entry>
+ <entry>
+ Specifies document root for <link
+ linkend="features.commandline.webserver">built-in web server</link>.
+ Available as of PHP 5.4.0.
+ </entry>
+ </row>
+ <row>
<entry>-s</entry>
<entry>--syntax-highlight and --syntax-highlighting</entry>
<entry>