note 43531 deleted from function.echo by aidan

From: Date: Sun, 27 Jun 2004 13:54:50 +0000
Subject: note 43531 deleted from function.echo by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71902@lists.php.net to get a copy of this message
Note Submitter: zvardin@pridestorm.com ---- Actually, that isn't correct, as I quote from the print documentation. "print() is not actually a real function (it is a language construct)" They're both constructs, not functions. The real difference is print still always returns 1, and echo doesn't return anything. Because echo doesn't need to return something is basically why it's slightly faster.

« previous php.notes (#71902) next »