This is happening why?
| From: | Chris Boget | Date: | Mon, 06 Jun 2005 18:41:51 +0000 |
| Subject: | This is happening why? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-216506@lists.php.net to get a copy of this message | ||
Run this code:
<?
if( 0 == 'NULL' ) {
echo "'NULL' == 0<br>";
} else {
echo "'NULL' != 0<br>";
}
?>
Is this just a case of PHP converting variable types for comparison?
thnx,
Chris