ID:               49093
 User updated by:  crystality at mail dot ru
 Reported By:      crystality at mail dot ru
-Status:           Open
+Status:           Bogus
 Bug Type:         Reflection related
 Operating System: Windows XP SP3
 PHP Version:      5.3.0
 New Comment:

Since the php.net site bugged a bit, threw "Warning: Cannot modify
header information - headers already sent by (output started at
/home/Web/sites/php-bugs-web/include/auth.inc:30) in
/home/Web/sites/php-bugs-web/report.php on line 195" and sent me my own
bug-report, I've made this by mistake. Refer to 49092.


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

[2009-07-28 22:48:30] crystality at mail dot ru

Description:
------------
Just about the same bug I've reported in #47593
This time ReflectionFunction fails to work with functions with fully
qualified namespaces.

Reproduce code:
---------------
namespace ns;
function func(){}
//new \ReflectionFunction('ns\func'); //Works
new \ReflectionFunction('\ns\func'); //Throws exception

Expected result:
----------------
new ReflectionFunction object created

Actual result:
--------------
Fatal error: Uncaught exception 'ReflectionException' with message
'Function \ns\func() does not exist' in ... 


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


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

Reply via email to