Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54888 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76184 invoked from network); 24 Aug 2011 18:05:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2011 18:05:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:35913] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/23-58451-B7D355E4 for ; Wed, 24 Aug 2011 14:05:48 -0400 Received: by ywb3 with SMTP id 3so1372813ywb.29 for ; Wed, 24 Aug 2011 11:05:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Lll69ajmWLV9uFHGNxIAMWKZBFX6z2Uka8GrrgBxWy4=; b=nWs81ExaNN39anVspAN9Z2TiqJhbsGShesfSY6kL+eYoL/Ph8d4G3UJkHFFo2VPvko 7cf0/H4pfToemDin2u8Uqi6ctsw9wiWxKMFrsDD/S6E8bLcLLbWdFW/Hr8O/q31nxP4w Bb5MDv+EggjzAV3a2+JrIdoKw3gdkkuf5frDM= MIME-Version: 1.0 Received: by 10.146.8.34 with SMTP id 34mr5508652yah.0.1314209144382; Wed, 24 Aug 2011 11:05:44 -0700 (PDT) Received: by 10.147.168.5 with HTTP; Wed, 24 Aug 2011 11:05:44 -0700 (PDT) In-Reply-To: <4E553CA5.4050401@sugarcrm.com> References: <4e553b46.843cdf0a.0d43.4d1a@mx.google.com> <4E553CA5.4050401@sugarcrm.com> Date: Wed, 24 Aug 2011 20:05:44 +0200 Message-ID: To: Stas Malyshev Cc: "alan@akbkhome.com" , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] PHP 5.3.8 Released! From: pierre.php@gmail.com (Pierre Joye) On Wed, Aug 24, 2011 at 8:02 PM, Stas Malyshev wrote: > Hi! > > On 8/24/11 10:56 AM, pierre.php@gmail.com wrote: >> >> What are you talking about? The change is exactly about that, change the >> behavior when a string is passed. > > Code relying on passing string to is_a is buggy, since it is clearly > documented as accepting object. That's what I am talking about. If your code > relies on that, it has a bug, fix it. As it was working perfectly fine until now, it was perfectly fine to use is_a only to valid possible instances of a given class, passing a non object returned false, which was totally correct (per se). Now call that a bug, fine, but it is a breakage in a patch release. >> We are back to the discussion about undeprecating is_a, from scratch... > > No we're not. It is not deprecated, nobody proposes to deprecate it - how > we're back? About why it should not suddenly changes this working perfectly fine before. And about not calling autoload. Arguments have been given, by many and in all possible ways. I do not see a consensus coming out (while Zeev just realized what we are talking about when we say 'breakage'). I propose to go for a vote to see what we should do with this fix in the 5.3 branch. -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org