Edit report at http://bugs.php.net/bug.php?id=51791&edit=1
ID: 51791 Updated by: fel...@php.net Reported by: iliavlad at mail dot ru Summary: constant() aborts execution when fail to check undefined constant Status: Closed Type: Bug Package: Scripting Engine problem Operating System: Windows, Linux PHP Version: 5.3.2 Assigned To: felipe New Comment: Oops, s/E_FATAL/E_ERROR/ :) Previous Comments: ------------------------------------------------------------------------ [2010-05-17 13:04:48] fel...@php.net constant('not::exists') was issuing an E_FATAL. ------------------------------------------------------------------------ [2010-05-17 08:12:48] m...@php.net How's this a bug? echo NOTEXISTS; echo NOT::EXISTS; ------------------------------------------------------------------------ [2010-05-13 04:13:36] fel...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2010-05-13 04:13:32] fel...@php.net Automatic comment from SVN on behalf of felipe Revision: http://svn.php.net/viewvc/?view=revision&revision=299320 Log: - Fixed bug #51791 (constant() aborts execution when fail to check undefined constant) ------------------------------------------------------------------------ [2010-05-13 03:16:14] bj...@php.net This is definitely a bug. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=51791 -- Edit this bug report at http://bugs.php.net/bug.php?id=51791&edit=1