|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-08-12 11:57 UTC] pierrick@php.net
-Status: Open
+Status: Bogus
[2011-08-12 11:57 UTC] pierrick@php.net
[2011-08-12 12:06 UTC] r1pp3r dot j4ck at gmail dot com
[2011-08-12 12:07 UTC] r1pp3r dot j4ck at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 22:00:02 2025 UTC |
Description: ------------ Fatal error: undefined class constant doesn't show up via AJAX, neither in the error log, so it crashes without any warning making the debugging really complicated. Actually the file doesn't load at all, tried with string out of the <?php ?> tags. Test script: --------------- asdfasdf <?php class random { const test = 1; echo $this::tes; } ?> Expected result: ---------------- asdfasdf Undefined class constant 'tes' in ...