php[tek] 2018 : Call for Speakers

Voting

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

The Note You're Voting On

Bichis Paul
10 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