|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-03-09 00:15 UTC] david at grudl dot com
[2010-02-08 12:31 UTC] svn@php.net
[2010-02-08 12:31 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ Function defined() is very strict whether class constant is checking. Non-declared (and not-autoloaded) class can be rather expressed as FALSE than fatal error. Reproduce code: --------------- var_dump( defined('Test::VALUE') ); Expected result: ---------------- FALSE Actual result: -------------- Fatal error: Class 'Test' not found