Bug #17432 Updated: PHP ignores a exit-command

From: Date: Sun, 26 May 2002 08:09:05 +0000
Subject: Bug #17432 Updated: PHP ignores a exit-command
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8571@lists.php.net to get a copy of this message
ID: 17432 Updated by: derick@php.net Reported By: e05@slashdot.ch -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Microsoft Windows 2000 SP2 PHP Version: 4.2.1 New Comment: A SCript is parse before it is executed. If it can not be parsed correctly due to a parse error, it will not get executed at all, and thus your exit(1) call has no effect here. Not a bug -> bogus Previous Comments: ------------------------------------------------------------------------ [2002-05-26 03:34:48] e05@slashdot.ch I wrote a script with an error, and to ignore it I write an exit-command before. But PHP ignores it. A script that shows this bug: <?php phpinfo(); exit(1); if( phpinfo(); ?> -- My configuration: Apache 1.3.24 (win32-build from httpd.apache.org) PHP 4.2.1 (offical win32 build) PHP runs as Apache module. -- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17432&edit=1

« previous php.bugs (#8571) next »