Re: [VOTE] Remove PHP 4 Constructors

From: Date: Mon, 23 Feb 2015 06:33:23 +0000
Subject: Re: [VOTE] Remove PHP 4 Constructors
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-83544@lists.php.net to get a copy of this message
Hi Levi, On Mon, Feb 23, 2015 at 1:39 PM, Levi Morrison <levim@php.net> wrote: > I have moved the RFC for removing PHP 4 constructors[1] into voting > phase. As there are a lot of RFCs in discussion and voting right now I > will leave this RFC in voting phase until the evening (UTC-7) of March > 6th which is 12 days away; this will hopefully allow everyone to be > able to review this RFC and vote on it without being rushed. > This may be a bit off topic. During this RFC discussion, I mentioned Trait method name issue that trait method which has PHP4 constructor name for the class is treated as class constructor. http://3v4l.org/gHbdq (Trait method is called as constructor) If there is __construct() in the class http://3v4l.org/HEBMl (Fatal error: A has colliding constructor definitions coming from traits) Is this bug fixed also? Or we have to wait until PHP8? Regards, P.S. I voted for "yes", of course. -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#83544) next »