Auciou posted on Augest 29, 2005 at 11:38
The PHP program:
<?
for ($i=1; $i<=1000000; $i++){
echo "$i, ";}
?>
The ASP program:
<%
for i=1 to 1000000
response.write i&", "
next
%>
On this test, I wanted it to print the numbers until one million. The test result: PHP program couldn't finish that just could print until 328125 and tell me "Fatal error: Maximum execution time of 30 seconds exceeded in F:\cww\php\re.php on line 3", it spent me 31 seconds; but ASP program could be finished, it spent me 18 seconds.
Category:
Program | Internet | Computer
Blog Research | PHP | Philosophy
Archives:
January 2011 | January 2010
December 2009 | October 2009 | September 2009 | April 2009
December 2008 | November 2008
May 2007 | April 2007
August 2005 | July 2005 | June 2005
May 2005 | April 2005 | March 2005
February 2005 | January 2005
Recent articles:
My Go Daddy hosting is fast
Create a house with your spouse on the interest
Pending time which add a domain of hosting, was more than 36 hours
Diary: 2010-01-15
Many Linux hostings do not support the mod_expires module
Figured out, there is still a way
About the delicated IP of IXWebHosting
About the QUERY_STRING parameter of URL
About the ping value and speed of site
The relation between program and .htaccess file
Saved a delicated IP
Judge that does a long-range file exist in PHP
How to call the Confederation of Planets and the high evolving beings of alien/pray/make a wish
Use Apache as the local virtual hosting to preview the Blog
Create the development environment of Apache
Reinstall Apache and PHP for one step
The elements of program of preventing the spam and closing IP
How to close the visit log of ixwebhosting
Happy Wedding to a friend
Make an easy Audio/Video converter