Re: cvs: phpdoc /en/features commandline.xml
| From: | Hannes Magnusson | Date: | Fri, 07 Nov 2008 13:40:18 +0000 |
| Subject: | Re: cvs: phpdoc /en/features commandline.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-2447@lists.php.net to get a copy of this message | ||
On Fri, Nov 7, 2008 at 14:11, Jakub Vrana <vrana@php.net> wrote:
> vrana Fri Nov 7 13:11:44 2008 UTC
>
> Modified files:
> /phpdoc/en/features commandline.xml
> Log:
> php -l exit code is 0 or -1 (bug #44020)
>
>
> http://cvs.php.net/viewvc.cgi/phpdoc/en/features/commandline.xml?r1=1.54&r2=1.55&diff_format=uãÌiÛRú{
> *àv%oR2
> Index: phpdoc/en/features/commandline.xml
> diff -u phpdoc/en/features/commandline.xml:1.54 phpdoc/en/features/commandline.xml:1.55
> --- phpdoc/en/features/commandline.xml:1.54 Wed Nov 5 16:30:57 2008
> +++ phpdoc/en/features/commandline.xml Fri Nov 7 13:11:44 2008
> @@ -1,5 +1,5 @@
> <?xml version="1.0" encoding="iso-8859-1"?>
> -<!-- $Revision: 1.54 $ -->
> +<!-- $Revision: 1.55 $ -->
> <chapter xml:id="features.commandline" xmlns="Wí;ˆN~·¼Ù
> -M¥ÜVhttp://docbook.org/ns/docbook"
> xmlns:xlink="http://www.w3.org/1999/xlink">
> <title>Using PHP from the command line</title>
> <para>
> @@ -745,7 +745,7 @@
> <literal>0</literal>. On failure, the text <literal>Errors parsing
> <filename></literal> in addition to the internal parser error
> message is written to standard output and the shell return code is set
> - to <literal>255</literal>.
> + to <literal>-1</literal>.
Not true:
$ php -l t.php; echo $?
Parse error: syntax error, unexpected $end in t.php on line 3
Errors parsing t.php
255
-Hannes