Last Updated: February 25, 2016
·
1.154K
· markushausammann

Zend Framework 2 and classmap autoloading

Be aware that if you're running PHP 5.4 you should not use composer's classmap autoloading because you will automatically get the ZF2 PHP 5.3.3 compatibility classes installed which will break your installation. Use standard autoloading in that case.

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

PHP applications still send a browser full of JavaScript. Hardening the server does not inventory the payment, analytics, and plugin scripts that run after the HTML is delivered.

Security insights from Cside