Re: Re: How to tell if the filepath exist or not before

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Nichel wrote:

Richard Lynch wrote:

Be kinda like isset() issuing a NOTICE for a variable that's not set. Well, duh. That's why I asked. :-)


isset() doesn't issue a notice...at least not in php 4.3.9. It just returns true or false.

it did for a while in PHP 5.1, for about a day, before it was fixed ;)

isset is defined to specifically check these cases, and thus should *never* issue notices about unset variables

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux