Re: Re: How to tell if the filepath exist or not before
| From: | John Nichel | Date: | Thu, 02 Dec 2004 14:33:36 +0000 |
| Subject: | Re: Re: How to tell if the filepath exist or not before | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203341@lists.php.net to get a copy of this message | ||
M. Sokolewicz wrote:
John Nichel wrote: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@kegworks.comRichard Lynch wrote: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 variablesBe 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.