|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-28 22:51 UTC] crystality at mail dot ru
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 17:00:02 2025 UTC |
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 ...