ZF-2802: Allow Zend_Loader to load classes with real namespaces

Issue Type: Improvement Created: 2008-03-04T07:45:23.000+0000 Last Updated: 2009-11-01T08:34:10.000+0000 Status: Postponed Fix version(s): - Next Major Release ()

Reporter: Lars Strojny (lars) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Loader

Related issues: - ZF-8200

Attachments: - 003-Zend_Loader-namespaces.diff


PHP 5.3 introduces real namespaces (Namespace::Class). With the following small patch Zend_Loader can handle them too.


Posted by Lars Strojny (lars) on 2008-03-04T07:46:01.000+0000

Allow Zend_Loader to handle classes with real namespaces

Posted by Wil Sinclair (wil) on 2008-03-25T21:30:49.000+0000

Please categorize/fix as needed.

Posted by Matthew Weier O'Phinney (matthew) on 2008-11-22T09:15:06.000+0000

Until 5.3 has a stable API, there is no sense in changing this functionality.

Posted by Keith Pope (mute) on 2009-11-01T03:14:55.000+0000

Now that 5.3 has been released could this be applied in a 1.x release?

I am just looking at doctrine 2 integration with the 1.x series and this would be a helpful addition, though this can be achieved by adding a custom autoloader into the stack as a workaround.

Posted by Benjamin Eberlei (beberlei) on 2009-11-01T08:29:35.000+0000

@Keith I have exactly the same problem while writing a Doctrine 2 resource plugin, I'll reopen the issue and put it to very high priority.

Posted by Benjamin Eberlei (beberlei) on 2009-11-01T08:30:23.000+0000

Hm issue is not reopenable. I'll add a new one.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.