php -l exit code is 0 or -1 (bug #44020)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268503 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2008-11-07 13:11:44 +00:00
parent 7a7f9756c9
commit 66911439c0

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.54 $ -->
<!-- $Revision: 1.55 $ -->
<chapter xml:id="features.commandline" xmlns="http://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 @@ string(15) "doesntmakesense"
<literal>0</literal>. On failure, the text <literal>Errors parsing
&lt;filename&gt;</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>.
</para>
<para>
This option won't find fatal errors (like undefined functions). Use