PHP 7.2.0 Release Candidate 2 Released

Voting

Please answer this simple SPAM challenge: min(zero, nine)?
(Example: nine)

The Note You're Voting On

nabil_kadimi at hotmail dot com
10 years ago
Attention! php will not warn you if you write (1) When you mean (2)

(1)
<?
if($a=0)
    echo
"condition is true";
else
    echo
"condition is false";
//output: condition is false
?>

(2)
<?
if($a==0)
    echo
"condition is true";
else
    echo
"condition is false";
//output: condition is true
?>

<< Back to user notes page

To Top