ID: 38297 Updated by: [EMAIL PROTECTED] Reported By: pityu-kg at rainstorm dot org -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Win32 PHP Version: 4CVS-2006-08-02 (snap) New Comment:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_VARIABLE or '$' Previous Comments: ------------------------------------------------------------------------ [2006-08-02 15:16:00] pityu-kg at rainstorm dot org Description: ------------ <?php empty(' '); ?> crashes without any message, despite E_ALL config. It crashes during parsing, this code doesn't have to be accessible. empty() should get only variables as parameter, not values. Reproduce code: --------------- <?php empty(' '); ?> Expected result: ---------------- Some error or warning telling empty() should get variable, not a value. Actual result: -------------- PHP crash without any message. Apache does not crash. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38297&edit=1