true ? echo "y" : echo "n"

From: Date: Mon, 26 May 2003 14:19:04 +0000
Subject: true ? echo "y" : echo "n"
Groups: php.general 
Request: Send a blank email to php-general+get-148984@lists.php.net to get a copy of this message
Why doesn't this work? true ? echo "y" : echo "n" ; So it's like this: if(true) { echo "y"; }else{ echo "n"; }

« previous php.general (#148984) next »