Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14113 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14134 invoked by uid 1010); 20 Dec 2004 00:13:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 14109 invoked from network); 20 Dec 2004 00:13:39 -0000 Received: from unknown (HELO mail1.panix.com) (166.84.1.72) by pb1.pair.com with SMTP; 20 Dec 2004 00:13:39 -0000 Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail1.panix.com (Postfix) with ESMTP id 787E358B1B for ; Sun, 19 Dec 2004 19:13:39 -0500 (EST) Received: (from analysis@localhost) by panix5.panix.com (8.11.6p3/8.8.8/PanixN1.1) id iBK0Ddi25283 for internals@lists.php.net; Sun, 19 Dec 2004 19:13:39 -0500 (EST) Date: Sun, 19 Dec 2004 19:13:39 -0500 To: PHP Internals List Message-ID: <20041220001339.GA3801@panix.com> References: <20041219190621.GA24729@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041219190621.GA24729@panix.com> User-Agent: Mutt/1.4.2.1i Subject: Re: [PHP-DEV] changed behavior: property of a string From: danielc@analysisandsolutions.com (Daniel Convissor) On Sun, Dec 19, 2004 at 02:06:21PM -0500, Daniel Convissor wrote: > > php -r "$str = 'Hello'; var_dump(isset($str->prop));" Those on *nix like systems would probably rather use this: php -r '$str = "Hello"; var_dump(isset($str->prop));' > In a PHP 4 snapshot from today, it still returns false, as it always has. Uh, ignore that statement. Now that I think about it, my test used PHP 5, not 4. (PATH intercepted the command despite being in the php4 directory.) I'll test PHP 4 later. --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