Re: [PHP] echo vs. print() performance?

2001-12-14 Thread Jim Lucas

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 [EMAIL PROTECTED]
To: Jon Niola [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] echo vs. print() performance?

2001-12-13 Thread Jon Niola

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] echo vs. print() performance?

2001-12-13 Thread Jack Dempsey

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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]