Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55918 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40914 invoked from network); 24 Oct 2011 14:06:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Oct 2011 14:06:41 -0000 Authentication-Results: pb1.pair.com header.from=dragoonis@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dragoonis@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.42 as permitted sender) X-PHP-List-Original-Sender: dragoonis@gmail.com X-Host-Fingerprint: 209.85.216.42 mail-qw0-f42.google.com Received: from [209.85.216.42] ([209.85.216.42:56440] helo=mail-qw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/81-29955-9E075AE4 for ; Mon, 24 Oct 2011 10:06:37 -0400 Received: by mail-qw0-f42.google.com with SMTP id c16so4384267qad.29 for ; Mon, 24 Oct 2011 07:06:33 -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=hqsKlEc6MaCjpX/jQFPNK3BlZ2azthETyMKN9pnXpD8=; b=QyZWJAnczEi5dcLrOUamNqRc9QOIGFxuFZkZM/HROM/jKk+FsOUcWnzm6Afq5m6lLL oFxoNXBk/kaKpIaxoTl9dYvWFtYef4c1hsLy8qLcRORg0BrbJ6hXD/xDrUdajouSoEae /OYgyQMed7TmWDwX8QwUQi4/qu3ANTvHo2ryE= MIME-Version: 1.0 Received: by 10.229.69.195 with SMTP id a3mr5006435qcj.179.1319465191876; Mon, 24 Oct 2011 07:06:31 -0700 (PDT) Received: by 10.229.239.148 with HTTP; Mon, 24 Oct 2011 07:06:31 -0700 (PDT) In-Reply-To: References: Date: Mon, 24 Oct 2011 15:06:31 +0100 Message-ID: To: Pierre Joye Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] BC break in 5.4, extending internal class From: dragoonis@gmail.com (Paul Dragoonis) On Mon, Oct 24, 2011 at 2:53 PM, Pierre Joye wrote: > hi, > > Referring to: > > https://bugs.php.net/bug.php?id=55300 > and in some extend to https://bugs.php.net/bug.php?id=55175 > > I tend to think that it could have a very bad impact on existing and > will prevent many users to migrate easily to 5.4, or smoothly. I think > we have to figure a fix for this problem while making it 100% BC with > 5.3. I'd to discuss this problem before we go with the 1st RC. Pierre, Is it too much deviation to auto-call the DirectoryIterator constructor if the dev made a __construct() in the child class but didn't call the parent construct(), ONLY when the DirectoryIterator's functionality is referenced. Aka a lazy-load check. It's a silent call, and i'm not in favour of silent stuff but maybe this has sparked a few ideas for people reading this discussion to come up with a less magic solution. Regards, Paul Dragoonis. > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >