Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  Will PHP __autoload() function really affect performance?

IntroductionRegarding to PHP performance, the most frequently discussed is the __autoload() function. Many people say that this function will affect the performance very much, some other people say that opcode will affect __autoload() as well. So we will have some tests on these two.EnvironmentPHP 5.3.9 -- Launch under fastcgi modeNginx 1.1.12eAccelerator 0.9.6.1ScreenshotsLaunch pageeAccelerator(In php.ini) configurationFile structure(each Test file has over 6000 lines of code)Testing With eAccelerator cache and with __autoload() function loadedThe result after refreshing the web browserTotal...

3,815 1       PHP PERFORMANCE __AUTOLOAD() OPCODE