Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14162 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68587 invoked by uid 1010); 22 Dec 2004 22:10:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68560 invoked from network); 22 Dec 2004 22:10:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Dec 2004 22:10:39 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.4/2.6 Received: from ([80.74.107.235:48711] helo=mail.zend.com) by pb1.pair.com (ecelerity HEAD (r3972:3973)) with SMTP id 12/10-58228-DD0F9C14 for ; Wed, 22 Dec 2004 17:10:38 -0500 Received: (qmail 17152 invoked from network); 22 Dec 2004 22:10:33 -0000 Received: from localhost (HELO andi-notebook.zend.com) (127.0.0.1) by localhost with SMTP; 22 Dec 2004 22:10:33 -0000 Message-ID: <5.1.0.14.2.20041222140958.026492e0@localhost> X-Sender: andi@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 22 Dec 2004 14:10:32 -0800 To: Daniel Convissor , PHP Internals List In-Reply-To: <20041219190621.GA24729@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] changed behavior: property of a string From: andi@zend.com (Andi Gutmans) References: <20041219190621.GA24729@panix.com> We found the bug. Do you think this warrants a 5.0.4? Andi At 02:06 PM 12/19/2004 -0500, Daniel Convissor wrote: >Hi: > >Someone using PEAR DB just filed a bug report. It turns out PHP's >behavior has changed when trying to find a "property" of a string: > > php -r "$str = 'Hello'; var_dump(isset($str->prop));" > >In 5.0.0, 5.0.1 and 5.0.2 it returns false. But in 5.0.3 it returns true. > >In a PHP 4 snapshot from today, it still returns false, as it always has. > >This behavior changed in HEAD some time between 2004-10-31 and 2004-12-16. > >--Dan > >-- > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y > data intensive web and database programming > http://www.AnalysisAndSolutions.com/ > 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php