Re: echo vs. print() performance?

From: Date: Fri, 14 Dec 2001 22:51:20 +0000
Subject: Re: echo vs. print() performance?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-77784@lists.php.net to get a copy of this message
I have a way of performance logging anything with php. Let me know what type of performance data you would like to see and I will do my best to get the data ready rather quickly. I will gather the data that I have collect over the past few months. It is a performance log of every part of php that my site uses. I will try an get that data together by the first of next week. it will show microsecond time lines of include(), requires(), print() echo"", <?=?>, and other related functions. Lets me know what you would like to see. Jim Lucas ----- Original Message ----- From: "Jack Dempsey" <dempsejn@georgetown.edu> To: "Jon Niola" <jonmail@mediavortex.com> Cc: <php-general@lists.php.net> Sent: Thursday, December 13, 2001 11:50 PM Subject: Re: [PHP] echo vs. print() performance? > not as a criticism, but this is among the top 10 questions asked ...or used > to be for a while...anyway, there's tons of info on the mailing lists, > marc.theaimsgroup.com > the short answer is that echo is SLIGHTLY faster being a language construct > rather than a function...then again, i believe i remember someone proving the > opposite...in general, you'll never notice a differenece between the two... > > Jon Niola wrote: > > > Someone on this list once mentioned a performance difference between using > > echo and print(). Is there any evidence to back this up? I am really > > curious to see if it would make a difference to use one over the other. > > > > --Jon > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#77784) next »