Understanding NULLs
Aug 14, 2009
Author: Developer
The value NULL is a data type all to itselfa value that actually has no value. It has no numeric value, but comparing to an integer value zero evaluates to true
$number = 0;
$empty=NULL;
if ($number == $empty) {
echo "The values are the same";
}
Type Comparisonstriple equals comparison operator (===).
views 948



