since PHP 5.3 Zend Framework definetly supports namespace as I assume.
But the tutorials, examples, and also the ZF.sh tools still uses the old “fake” namespacing.
My question is, how do I get Zend using the new, real namespace system?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is nothing to do, their autoloader can find
My_Namespace_Class1as well asMy\Namespace\Class1(by replacing the namespace separator by “/” to find the file).So you just have to use their autoloader and configure it the same way you would with old/fake namespaces.