RE: [PHP] Print or Echo.

From: Date: Sat, 07 Apr 2001 08:08:11 +0000
Subject: RE: [PHP] Print or Echo.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47545@lists.php.net to get a copy of this message
> -----Original Message----- > From: Alexander Wagner [mailto:wagner@globalpark.de] > Sent: Friday, April 06, 2001 3:24 PM > To: jeff@webdesigns1.com > Cc: PHP > Subject: Re: [PHP] Print or Echo. > > > Jeff Oien wrote: > > "As for a print vs. echo, echo gives you more options, > > such as being able to continue output on multiple lines > > like an <<EOT in perl. Look at the above notes. With print > > you would not be able to accomplish this." > > There's another difference. print() returns true on success and false > when called after a connection abort. Echo doesn't, and that's why it's > slightly (very slightly) faster. > > regards > Wagner > http://www.e-gineer.com/articles/php-hackers-paradise.phtml More details here on Print/Echo/Inline Jason Lotito www.NewbieNetwork.net Where those who can, teach; and those who can, learn.

« previous php.general (#47545) next »