Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82595 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80755 invoked from network); 13 Feb 2015 10:59:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2015 10:59:00 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.48 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.192.48 mail-qg0-f48.google.com Received: from [209.85.192.48] ([209.85.192.48:40802] helo=mail-qg0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/63-62214-3F8DDD45 for ; Fri, 13 Feb 2015 05:58:59 -0500 Received: by mail-qg0-f48.google.com with SMTP id a108so12518315qge.7 for ; Fri, 13 Feb 2015 02:58:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=PaUoUnPO7+DWYGtJM0IJoEZYvnwls3rfXUhJROsBT3k=; b=cBOQl5ZZqW1RdNPmQkVwxewvMeUr8qK6FZc1xdCie4NPSX0Sry7K1l01R+euCJQaY4 gHmferMNrwzG+lNwYtzh3OH3+ad6fZ8JbXtl2Oc4wQst82IsDGpAZbC/Sk3+5hB1sgux fWqc5CjTQAL1YxgnXC78bSczgukCMm+6idtLKf79iBlDHD1vA3QvOwMBGfh4ukHcs3AB 5N5heJr8gJ+WhC4tIeqFv597oKFvMFSB+8VciRxufqLU6Yat5D3Qncnr0KXX6aO2326p wCwKjzrVyIX8EmzkdcGZV9wUbfSBVQVXP0roCvEuP0BdgICGMia29TdXBivPiK6VV7vh xVTQ== X-Received: by 10.140.97.203 with SMTP id m69mr21630588qge.39.1423825136178; Fri, 13 Feb 2015 02:58:56 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Fri, 13 Feb 2015 02:58:15 -0800 (PST) In-Reply-To: References: Date: Fri, 13 Feb 2015 19:58:15 +0900 X-Google-Sender-Auth: rZxQx-ndeElLkfCzPFNExNCIRkY Message-ID: To: Levi Morrison Cc: internals Content-Type: multipart/alternative; boundary=001a113a2aa276ddc5050ef61f81 Subject: Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors Update From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a113a2aa276ddc5050ef61f81 Content-Type: text/plain; charset=UTF-8 Hi Levi, On Sat, Feb 7, 2015 at 7:05 AM, Levi Morrison wrote: > I have updated the RFC for removing PHP 4 constructors[1]. Notably, I > have pushed off the removal to PHP 8, and instead only deprecate them > in PHP 7. The rationale is that eventual consistency in this matter is > good enough for now, and going slow may help avoid a Python 2 vs 3 > type disaster where older libraries aren't updated fast enough. > > I intend to put this to vote soon, as we are approaching the March > feature freeze, so please chime in if you have been wanting to voice > your opinion and haven't. > I thought I filed this as Trait bug, but it isn't the bug db. I might forget to report it. http://3v4l.org/pL3Hr Class calls trait function that is PHP4 constructor. This could be resolved by removing PHP4 constructor. Could this issue be resolved in PHP7? Even if previous issue could be resolved, we have http://3v4l.org/G7DOC PHP4 constructor is harmful. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a113a2aa276ddc5050ef61f81--