Как на этом люди пишут?
2013-09-01 06:34$a = 1;
print ($a == "" ? "yes" : "no") . "\n";
print ($a == "1" ? "yes" : "no") . "\n";
print ($a == "01" ? "yes" : "no") . "\n";
$a = 0;
print ($a == "" ? "yes" : "no") . "\n";
print ($a == "0" ? "yes" : "no") . "\n";
———
no
yes
yes
yes
yes
Originally published at U.F.M's Homepage. You can comment here or there.
(no subject)
Date: 2013-09-01 07:46 (UTC)http://dil.livejournal.com/1101016.html
http://dil.livejournal.com/1101402.html