ID:          42820
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:      Assigned
+Status:      Closed
 Bug Type:    Scripting Engine problem
 PHP Version: 5CVS-2007-10-01 (CVS)
 Assigned To: dmitry
 New Comment:

This bug has been fixed in CVS.

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.




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

[2007-10-01 19:23:38] [EMAIL PROTECTED]

Description:
------------
i don't know if it's right to expect a class named foo here, but anyway
 it should be possible to check for a constant within a namespace

Reproduce code:
---------------
<?php
namespace foo;
var_dump(defined("foo::BAR"));

Expected result:
----------------
false

Actual result:
--------------
Fatal error: Class 'foo' not found in ... on line 3


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


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

Reply via email to