type casting problem

From: Date: Sun, 22 Feb 2004 18:58:50 +0000
Subject: type casting problem
Groups: php.general 
Request: Send a blank email to php-general+get-178496@lists.php.net to get a copy of this message
Hi, Is it possible that some functions in different php versions (4.1 ..... 4.1.2 ....) has problems with type castings so that the following script has different results in different php versions? <?php if(FALSE === is_file('aaaaa')) echo "is_file === no file<br><br>"; if(FALSE == is_file('aaaaa')) echo "is_file == no file<br><br>"; if(FALSE === file_exists('aaaaa')) echo "file_exists === no file<br><br>"; if(FALSE == file_exists('aaaaa')) echo "file_exists == no file<br><br>"; if(FALSE === is_dir('aaaaa')) echo "is_dir === no dir<br><br>"; if(FALSE == is_dir('aaaaa')) echo "is_dir == no dir<br><br>"; ?>

« previous php.general (#178496) next »