what is the difference between print() and echo()?

From: Date: Thu, 28 Sep 2000 12:53:45 +0000
Subject: what is the difference between print() and echo()?
Groups: php.general 
Request: Send a blank email to php-general+get-17903@lists.php.net to get a copy of this message
What is the difference between print() and echo(), except for that echo() can print multiline strings? Rasmus once said that echo() is faster. So why everybody use print()? Does it make sense to make print() an alias to echo() ? -- Best regards, Max A. Derkachev mailto:kot@books.ru Symbol-Plus Publishing Ltd. phone: +7 (812) 265-0054, 265-1228, phone/fax: 567-8775 http://www.Books.Ru -- All Books of Russia

« previous php.general (#17903) next »