Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3957 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40184 invoked from network); 14 Aug 2003 19:37:44 -0000 Received: from unknown (HELO mail.3gstech.com) (216.239.132.110) by pb1.pair.com with SMTP; 14 Aug 2003 19:37:44 -0000 Received: from 3gstech.com (ip-209-172-92-41.us01.qualys.com [209.172.92.41]) by mail.3gstech.com (Postfix) with ESMTP id DD8A29E7B23; Thu, 14 Aug 2003 12:37:42 -0700 (PDT) Message-ID: <3F3BE47A.9060303@3gstech.com> Date: Thu, 14 Aug 2003 12:35:22 -0700 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ilia@prohost.org Cc: Timm Friebe , internals@lists.php.net References: <1060813541.901.336.camel@ali> <1060886610.50229.9.camel@localhost> <3F3BDEEE.4000106@3gstech.com> <200308141530.20653.ilia@prohost.org> In-Reply-To: <200308141530.20653.ilia@prohost.org> Content-Type: multipart/alternative; boundary="------------030403000800030900050306" Subject: Re: [PHP-DEV] Re: variable_exists() patch From: waboring@3gstech.com (walt boring) --------------030403000800030900050306 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Ilia Alshanetsky wrote: >On August 14, 2003 03:11 pm, walt boring wrote: > > >>exactly why isset() is either >>1) a bad name for the function or >>2) 'broken' >> >> > >Wrong. isset() has a very proper name "is-set", which to me and other people >says that it will see if a variable is set (has a value). It does this job >admirably and it certainly not broken. Documentation specifies how this >function will perform perfectly. > >Ilia > > > Then please explain the logic of why $var = null isset($var) returns false. In your words "it will see if a variable is set (has a value)". $var IS set and DOES have a value, it just happens to be a value of null. W --------------030403000800030900050306--