<?php
function foo ()
{
return 5;
}
?>Buradaki fonksiyonda return 5; nedir ne iş yapar?<?php $first ? $second : $third ?>Bu kod ne işe yarar ?
3
●660
<?php
function foo ()
{
return 5;
}
?>Buradaki fonksiyonda return 5; nedir ne iş yapar?<?php $first ? $second : $third ?>Bu kod ne işe yarar ?
$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 ikinciDaha nasıl anlatılabilirki ?