PHP require vs include and time wasting

December 23, 2004

I have written about the futility of attempting to speed of applications by compiler options or small code level changes. They simply do not work. If you look at the PHP mailing list archives you will find countless thread arguing the merits and demerits of require vs include or echo vs print etc.

These arguments are just a waste of time. In this backdrop I decided to start writing an article with detailed statistics to prove this point. You will find the first part here..

In fact the first step of results were mildly suprising but then the first set of tests are not typical of what you might encounter in a real web application. The second set of tests on the other hand is a better match and the results as expected goes to show that there is little difference between require, include and the other 'file inclusion' functions of PHP.

Posted by raditha at December 23, 2004 1:02 AM
Your Ad Here

 

Jabber  |  Linux  |  mySQL  |  PHP  |  Java  |  Site Map  |  Wiki

Downloads  |  About  |  Links  |  Contact  |  Home

 

Copyright © Raditha Dissanayake 2003 - 2007

Terms of Use  |  Privacy

 

 

December 2004
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31