note 97622 deleted from control-structures.alternative-syntax by danbrown

From: Date: Wed, 28 Apr 2010 20:08:22 +0000
Subject: note 97622 deleted from control-structures.alternative-syntax by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-168768@lists.php.net to get a copy of this message
Note Submitter: brian at thecodecave dot com ---- @EJ That syntax is called the "tertiary if statement". It's not quite the same topic, but tertiaries can clean up what might otherwise be very ugly code. The "alternative control syntax" may not be familiar to all php coders. If your code will be maintained by more people than just you, you may want to stick to the more common syntax. It could prevent future bug crops.

« previous php.notes (#168768) next »