Re: Control Structure Syntax Question
| From: | Ahbaid Gaffoor | Date: | Wed, 10 Mar 2004 00:14:11 +0000 |
| Subject: | Re: Control Structure Syntax Question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179958@lists.php.net to get a copy of this message | ||
Yeah, but if my code is less readable, my job security goes up ;) (Kidding)
Thanks for all your help folks,
that's what I needed.
regards
Ahbaid
Richard Davey wrote:
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.