The 5th Annual China PHP Conference

Voting

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

The Note You're Voting On

Bichis Paul
4 months ago
Regarding 12345alex at gmx dot net's example:

I think you miss the identical equal documentation line from: http://php.net/manual/en/language.operators.comparison.php

$a == $b     Equal     TRUE if $a is equal to $b after type juggling.
$a === $b     Identical     TRUE if $a is equal to $b, and they are of the same type.

Try:
print array() === NULL ? "True" : "False";

Check this:
var_dump(is_null(array()));

<< Back to user notes page

To Top