ID:          43359
 Updated by:  [EMAIL PROTECTED]
 Reported By: felipensp at gmail dot com
-Status:      Open
+Status:      Assigned
 Bug Type:    Scripting Engine problem
 PHP Version: 5.3CVS-2007-11-21 (snap)
-Assigned To: 
+Assigned To: dmitry
 New Comment:

Another namespace issue.


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

[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