Re: what does this mean?

From: Date: Fri, 25 Feb 2005 19:37:10 +0000
Subject: Re: what does this mean?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-209400@lists.php.net to get a copy of this message
Diana Castillo wrote:
on which page of php.net can I find out what this code does?
$a      = $b? $a :"dian";
its a form of if statement called the tertiary form (or something), it does exactly the same as this: if ($b) { $a = $a; } else { $a = "dian"; } don't know which page its on tho ;-)

« previous php.general (#209400) next »