Re: cvs: phpdoc /en/features commandline.xml

From: Date: Tue, 27 Jul 2004 19:57:31 +0000
Subject: Re: cvs: phpdoc /en/features commandline.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969362257@lists.php.net to get a copy of this message
What it you update it instead? Or is there another place in the manual, where actual info is available on this? Goba Jakub Vrana írta:
vrana Tue Jul 27 12:42:32 2004 EDT
  Modified files:                  /phpdoc/en/features	commandline.xml   Log:
Removed old documentation http://cvs.php.net/diff.php/phpdoc/en/features/commandline.xml?r1=1.33&r2=1.34&ty=u Index: phpdoc/en/features/commandline.xml diff -u phpdoc/en/features/commandline.xml:1.33 phpdoc/en/features/commandline.xml:1.34 --- phpdoc/en/features/commandline.xml:1.33 Tue Jul 27 09:40:02 2004 +++ phpdoc/en/features/commandline.xml Tue Jul 27 12:42:32 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.33 $ --> +<!-- $Revision: 1.34 $ --> <chapter id="features.commandline"> <title>Using PHP from the command line</title> <!-- NEW DOCUMENTATION STARTS --> @@ -910,149 +910,6 @@ For Windows users both the PHP executable and the server modules are in the binary package, the executable is named <filename>php.exe</filename>. - </para> - <para> - This list of command line options is consistent with PHP 4.0.6. - You can get the actual list and some one line descriptions - with the <literal>-h</literal> option. The output of - <literal>php -h</literal> should be something like this: - <screen> -<![CDATA[ -Usage: php [-q] [-h] [-s [-v] [-i] [-f <file>] | {<file> [args...]}
-  -q             Quiet-mode.  Suppress HTTP Header output.
-  -s             Display colour syntax highlighted source.
-  -f <file>      Parse <file>.  Implies `-q'
-  -v             Version number
-  -C             Do not chdir to the script's directory
-  -c <path>      Look for php.ini file in this directory
- -d foo[=bar] Define INI entry foo with value 'bar'
-  -e             Generate extended information for debugger/profiler
-  -z <file>      Load Zend extension <file>.
-  -l             Syntax check only (lint)
-  -m             Show compiled in modules
-  -i             PHP information
-  -h             This help
-]]> - </screen> - </para> - <para> - Here we list some of the most important command line options - with detailed explanations. - </para> - <para> - <table> - <title>Command line options</title> - <tgroup cols="2">
-    <thead>
-     <row>
-      <entry>Option</entry>
-      <entry>Description</entry>
-     </row>
-    </thead>
-    <tbody>
-     <row>
-      <entry>-q</entry>
-      <entry>
-       Suppress HTTP headers output. Normally PHP prints out
-       HTTP headers for the calling program (ie. webserver)
-       to hand on to the browser. When writing command line
-       applications these headers are useless.
-      </entry>
-     </row>
-     <row>
-      <entry>-s</entry>
-      <entry>
-       Display the color highlighted source of the file
-       given with its name. This is the same as if you were
-       printing out the source using the
-       <function>highlight_file</function> function in
-       a PHP script.
-      </entry>
-     </row>
-     <row>
-      <entry>-f</entry>
-      <entry>
-       Parse the file given, and search for syntactical and
-       fatal errors. This option implies -q. Use for
-       debugging purposes.
-      </entry>
-     </row>
-     <row>
-      <entry>-v</entry>
-      <entry>
-       By calling PHP with this option, you can ask
-       it to print out its version number, ie: 4.0.6. -      </entry>
-     </row>
-     <row>
-      <entry>-C</entry>
-      <entry>
-       Normally PHP changes the working directory to the
-       running scripts directory. This makes it possible
-       for example, to open files in the same directory,
-       with only specifying the name of the file. If you
-       would like to disable this directory change, use
-       this option.
-      </entry>
-     </row>
-     <row>
-      <entry>-c</entry>
-      <entry>
-       Using this option, you can specify an alternative
-       &php.ini; path, so PHP will
-       search your configurations file in this path
-       instead of the default one.
-      </entry>
-     </row>
-     <row>
-      <entry>-d</entry>
-      <entry>
-       With this option, you can set individual -       &php.ini; settings in the
-       time of running a script.
-      </entry>
-     </row>
-     <row>
-      <entry>-l</entry>
-      <entry>
-       Check the file given for syntax errors. This
-       option implies -q. Use for debugging purposes.
-       This option won't find fatal errors (like undefined
-       functions). Use -f if you would like to test
-       for fatal errors too.
-      </entry>
-     </row>
-     <row>
-      <entry>-m</entry>
-      <entry>
-       Using this option, PHP prints out the built in
-       (and loaded) PHP and Zend modules, the PHP
-       and Zend version numbers, and a short Zend
-       copyright notice.
-      </entry>
-     </row>
-     <row>
-      <entry>-i</entry>
-      <entry>
-       This command line option calls
-       <function>phpinfo</function>, and prints
-       out the results. If PHP is not working well,
-       it is advisable to make a <literal>php -i</literal>
-       and see if any error messages are printed out
-       before or in place of the information tables.
-      </entry>
-     </row>
-     <row>
-      <entry>-h</entry>
-      <entry>
-       With this option, you can get information about
-       the actual list of command line options and some
-       one line descriptions about what they do.
-      </entry>
-     </row>
-    </tbody>
- </tgroup> - </table> </para> --> <para>


« previous php.doc (#969362257) next »