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

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

 



M. Sokolewicz wrote:
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


It was pointed out to me that Richard wasn't saying that isset() issues a notice; more along the lines of, 'it wouldn't make any sense if it did issue a notice'. I don't read to well when I'm sleeping. ;)


--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@xxxxxxxxxxxx

--
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