Bug #17432: PHP ignores a exit-command
| From: | e05 at slashdot dot ch | Date: | Sun, 26 May 2002 07:34:48 +0000 |
| Subject: | Bug #17432: PHP ignores a exit-command | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-8567@lists.php.net to get a copy of this message | ||
From: e05@slashdot.ch
Operating system: Microsoft Windows 2000 SP2
PHP version: 4.2.1
PHP Bug Type: Scripting Engine problem
Bug description: PHP ignores a exit-command
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 bug report at http://bugs.php.net/?id=17432&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17432&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17432&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17432&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17432&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17432&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17432&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17432&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17432&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17432&r=globals