Re: Re: how to say "inverse your value" (to a boolean)?

From: Date: Tue, 11 Aug 2009 01:27:19 +0000
Subject: Re: Re: how to say "inverse your value" (to a boolean)?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-296593@lists.php.net to get a copy of this message
echo "something " . (($a = $a^1) ? "red\n" : "green\n");
Re: The "?" char in this ^^^^ line above.. where in the php docs can I read about what that is doing? I have not come across this construct before today, from you guys. thanks -John

« previous php.general (#296593) next »