PHP code optimization

From: Date: Tue, 09 Jul 2002 19:32:59 +0000
Subject: PHP code optimization
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-106473@lists.php.net to get a copy of this message
Question on optimizing code for quicker runtimes. Which is quicker (this is on a webpage also..NOT commandline)? <?php if ($a){ echo 'abc'; } ?> OR <?php if ($a) { ?> abc <?php } ?> Both do the same thing and are legit but wondering which is better from an optimization standpoint (NOT interested in readability or *proper* code here) -Peter __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com

« previous php.general (#106473) next »