Re: echo or print
| From: | Eugene Lee | Date: | Thu, 20 Nov 2003 20:07:43 +0000 |
| Subject: | Re: echo or print | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170491@lists.php.net to get a copy of this message | ||
On Thu, Nov 20, 2003 at 12:36:42PM -0500, John W. Holmes wrote:
:
: Jay Fitzgerald wrote:
: >
: >when should i use echo ' '; vs. print ' ';
:
: You should always use echo. It'll make a significant performance
: increase in your scripts as it's only four letters instead of five.
<p class="tonue-in-cheek">
Also, the letter 'e' is smaller than 'p', so ASCII-based function
lookups will be faster as well.
</p>