From:             crystality at mail dot ru
Operating system: Windows XP SP3
PHP version:      5.3.0
PHP Bug Type:     Reflection related
Bug description:  ReflectionFunction fails to work with functions in fully 
qualified namespaces

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 bug report at http://bugs.php.net/?id=49092&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49092&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49092&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49092&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49092&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49092&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49092&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49092&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49092&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49092&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49092&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49092&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49092&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49092&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49092&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49092&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49092&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49092&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49092&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49092&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49092&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49092&r=mysqlcfg

Reply via email to