Re: [VOTE] Remove PHP 4 Constructors
Hi Levi,
On Mon, Feb 23, 2015 at 1:39 PM, Levi Morrison <[email protected]> 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
[email protected]
Thread (5 messages)