#20945 [NEW]: Parse error is not deteced by PHP

From: Date: Wed, 11 Dec 2002 20:38:20 +0000
Subject: #20945 [NEW]: Parse error is not deteced by PHP
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27422@lists.php.net to get a copy of this message
From: tss24@cornell.edu Operating system: Linux PHP version: 4.2.3 PHP Bug Type: Scripting Engine problem Bug description: Parse error is not deteced by PHP This parse error is not detected by PHP: if (isset($_POST['rerun')) && $_POST['rerun'] == 1) $script= 'script_rerun'; else $script= 'script_reproduce'; Note the paranthese instead of square bracket in the isset(). When PHP finds this page, it doesn't do anything. It shows a blank page. This really had me dumb founded, as I tried everything. I even threw in random text to generate errors, but PHP didn't catch this at all. Once I found this bracket and fixed it, everything worked again. Very odd. -- Edit bug report at http://bugs.php.net/?id=20945&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20945&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20945&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20945&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20945&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20945&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20945&r=support Expected behavior: http://bugs.php.net/fix.php?id=20945&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20945&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20945&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20945&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20945&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20945&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20945&r=isapi

« previous php.bugs (#27422) next »