ID:               28952
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jonathan dot hawk at hungrywolf dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         Zend Engine 2 problem
 Operating System: Windows 2000
 PHP Version:      5CVS-2004-06-28 (dev)
 New Comment:

Just add a comment to the bug, don't open a new duplicate one.    


Previous Comments:
------------------------------------------------------------------------

[2004-06-28 22:08:09] jonathan dot hawk at hungrywolf dot net

Description:
------------
There is another bug report for this issue marked closed:

http://bugs.php.net/bug.php?id=28333

I pulled the latest Dev copy of PHP5 and noticed this bug is still
around.  Is this expected behavior for class_exists?  To try to include
a non-existant class?  That doesn't seem right to me.

Reproduce code:
---------------
function __autoLoad( $class ) {
        echo "I want to load $class<br />";
}

if ( !class_exists("iAmNotHere") ) {
        echo "Class doesn't exist<br />";
}

Expected result:
----------------
Class doesn't exist

Actual result:
--------------
I want to load myClass
Class doesn't exist


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28952&edit=1

Reply via email to