Quote:
Originally posted by scorpiosage@Nov 2 2004, 05:48 AM
In looking at the fwrite function given, I am seeing === like so
if (fwrite($handle, $somecontent) === FALSE) {
echo "Cannot write to file ($filename)";
exit;
} is that a typo, or does that have a meaning, or am I just confusing a nonissue?
lol
Thanks again for all everyone's help
Mike
|
In PHP, === means "is equal to and of the same type". So comparing it to FALSE checks to see if the value the variable is holding is FALSE, and not 0.