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>";
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php