ID: 17432 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Scripting Engine problem Operating System: Microsoft Windows 2000 SP2 PHP Version: 4.2.1 New Comment:
I think it�s illogical. Why? If you call an function which doesn�t exists, it works. Previous Comments: ------------------------------------------------------------------------ [2002-05-26 05:09:09] [EMAIL PROTECTED] I think it�s illogical. Why? If you call an function which doesn�t exists, it works. ------------------------------------------------------------------------ [2002-05-26 04:09:04] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [2002-05-26 03:34:48] [EMAIL PROTECTED] 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
