Re: Control Structure Syntax Question
| From: | Richard Davey | Date: | Tue, 09 Mar 2004 23:50:34 +0000 |
| Subject: | Re: Control Structure Syntax Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179954@lists.php.net to get a copy of this message | ||
Hello Ahbaid,
Tuesday, March 9, 2004, 11:42:21 PM, you wrote:
AG> Someone had posted a tip for using an abbreviated form of an if.. else
AG> structure...
AG> It looked something like:
AG> $x : action1 : action2;
$x ? xxx : xxx
But it makes your code less readable IMHO and offers no tangible
benefit whatsoever.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html