note 35021 added to control-structures

From: Date: Fri, 15 Aug 2003 19:50:07 +0000
Subject: note 35021 added to control-structures
Groups: php.notes 
Request: Send a blank email to php-notes+get-54232@lists.php.net to get a copy of this message
Since I did not see this on here I just decided to add it. It may go under a different category but I am sure lots of people associate it with if/elseif/else construct. ============================================= $a=1; $b=2; $a == $b ? print "are equal\n": print"are not equal\n"; ============================================= The syntax is a little off so I thought it would be a nice reference for people who are looking for alternatives to the standard if/elseif/else. ---- Manual Page -- http://www.php.net/manual/en/control-structures.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35021 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35021&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35021&report=yes

« previous php.notes (#54232) next »