Re: Class Static variables in double quoted string or heredoc

From: Date: Fri, 25 Apr 2008 18:28:42 +0000
Subject: Re: Class Static variables in double quoted string or heredoc
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-273589@lists.php.net to get a copy of this message
On Fri, Apr 25, 2008 at 2:25 PM, Nathan Nobbe <quickshiftin@gmail.com> wrote: > want to know a syntactic sugar feature i avoid like the plague, its the > ternary operator! Like this? return (!is_dir($indexPath)) ? Zend_Search_Lucene::create($indexPath) : Zend_Search_Lucene::open($indexPath); ;)

« previous php.general (#273589) next »