Vtip je v tom, že aj tento kód vypíše v prvej časti "true" a potom "false" (tj. $retazec nemusí byť len boolean hodnota).
Kód:
$retazec = "bla bla";
if($retazec) {
echo "TRUE";
} else {
echo "FALSE";
}
$retazec = "";
if($retazec) {
echo "TRUE";
} else {
echo "FALSE";
}
Zvyšné dve mondzove úvahy sú správne.
_________________
A. S. Tanenbaum píše:
The terms LF, MF, and HF refer to low, medium, and high frequency, respectively. Clearly, when the names were assigned, nobody expected to go above 10 MHz, so the higher bands were later named the Very, Ultra, Super, Extremely, and Tremendously High Frequency bands. Beyond that there are no names, but Incredibly, Astonishingly, and Prodigiously high frequency (IHF, AHF, and PHF) would sound nice.