Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49905 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75665 invoked from network); 13 Oct 2010 07:52:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2010 07:52:59 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.123 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.123 smtp123.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.123] ([67.192.241.123:47457] helo=smtp123.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/BB-60583-95565BC4 for ; Wed, 13 Oct 2010 03:52:59 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 939092A8186; Wed, 13 Oct 2010 03:52:55 -0400 (EDT) X-Orig-To: sv_forums@fmethod.com X-Orig-To: internals@lists.php.net X-Virus-Scanned: OK Received: by smtp2.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 43E742A8139; Wed, 13 Oct 2010 03:52:55 -0400 (EDT) Message-ID: <4CB56556.1020900@sugarcrm.com> Date: Wed, 13 Oct 2010 00:52:54 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Stan Vass CC: "internals@lists.php.net" References: <4CB492BE.2090305@sugarcrm.com> <8C81F534A6C3449E9D81D0B157C2052E@pc> In-Reply-To: <8C81F534A6C3449E9D81D0B157C2052E@pc> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Process failed? BC and use cases for property_exists() broken in PHP 5.3 From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > As for isset(), it doesn't cover the use case for property_exists(), as > isset() returns false when a property exists, and is one of these values: > > null, false, int 0, float 0, string '', empty array() > > property_exists() more closely relates to "array_key_exists() for objects" > in that regard. This is not true. isset() only returns false if the property doesn't exist or is set to null. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227