What is faster?

From: Date: Sun, 05 Jun 2005 16:24:18 +0000
Subject: What is faster?
Groups: php.general 
Request: Send a blank email to php-general+get-216412@lists.php.net to get a copy of this message
Hi all Of these two expressions, which one is faster? if(!(is_null($customMenu)) && (is_array($customMenu))) $menu=$customMenu; else $menu=array('Documentation','Settings'); OR $menu=(!(is_null($customMenu)) && (is_array($customMenu))?$customMenu:$menu); Anybody have any documentation on this? Kind regards Andy -- Registered Linux User Number 379093 -- --BEGIN GEEK CODE BLOCK----- Version: 3.1 GAT/O/>E$ d-(---)>+ s:(+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++ L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++) PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+) e>++++$@ h++(*) r-->++ y--()>++++ -- ---END GEEK CODE BLOCK------ -- Check out these few php utilities that I released under the GPL2 and that are meant for use with a php cli binary: http://www.vlaamse-kern.com/sas/ -- --

« previous php.general (#216412) next »