PSR-0 and PSR-4 autoloader for php 5.4 on linux

The PHP build-in auto-loader can't handle namespace paths on Linux.

It also seems to have issues with case.

The easiest way is to lower-case all class files, and add a file containing the following code and include it.
  function ($pClassName) {
    spl_autoload(strtolower(str_replace("\\", "/", $pClassName)));



Popular posts from this blog

Sentinel.v3.5Client and Windows 7

Clojure: The Main-Class specified does not exist within the jar.

Installing Bugzilla under Hostgator Cpanel