ID:          43359
 Updated by:  [EMAIL PROTECTED]
 Reported By: felipensp at gmail dot com
-Status:      Assigned
+Status:      Closed
 Bug Type:    Scripting Engine problem
 PHP Version: 5.3CVS-2007-11-21 (snap)
 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.

Already fixed by Dmitry...


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

[2007-11-24 12:30:58] [EMAIL PROTECTED]

Another namespace issue.

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

[2007-11-21 11:12:51] felipensp at gmail dot com

Description:
------------
See the code below.

Reproduce code:
---------------
<?php

namespace ::foo;
var_dump(__NAMESPACE__); // string(0) ""

---
<?php

namespace ::foo::bar; // Fatal error: Class 'foo' not found 


Expected result:
----------------
Fatal error with other message in both

Actual result:
--------------
string(0) ""
---
Fatal error: Class 'foo' not found


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


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

Reply via email to