Bu
$first = 1;
$second = 2;
$third = 3;
$ata = ($first ? $second : $third);
bununla aynıdır...
$first = 1;
$second = 2;
$third = 3;
if ($first)
$ata = $second;
else
$ata = $third;
yada bu
$first = $true;
$second = "bu ikinci";
$third = "buda üçüncü";
echo ($first ? $second : $third);
Şu çıktıyı verir
bu ikinci
Daha nasıl anlatılabilirki ?