From 66911439c0182a08636622d6f98cc0953ebd2fda Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 7 Nov 2008 13:11:44 +0000 Subject: [PATCH] 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 --- features/commandline.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/commandline.xml b/features/commandline.xml index 55058df948..1270ce6107 100644 --- a/features/commandline.xml +++ b/features/commandline.xml @@ -1,5 +1,5 @@ - + Using PHP from the command line @@ -745,7 +745,7 @@ string(15) "doesntmakesense" 0. On failure, the text Errors parsing <filename> in addition to the internal parser error message is written to standard output and the shell return code is set - to 255. + to -1. This option won't find fatal errors (like undefined functions). Use