Re: [RFC] Remove PHP 4 Constructors
| From: | Yasuo Ohgaki | Date: | Fri, 21 Nov 2014 07:48:36 +0000 |
| Subject: | Re: [RFC] Remove PHP 4 Constructors | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79066@lists.php.net to get a copy of this message | ||
Hi all,
On Fri, Nov 21, 2014 at 6:39 AM, Johannes Schlüter <johannes@schlueters.de>
wrote:
> > I am proposing E_DEPRECATED in PHP 5.7, just as the RFC for using
> > multiple default statements in switches (which was accepted, by the
> > way).
> >
> > Updating to PHP 5.7 first gives you more time to prepare for this and
> > other BC breaks for PHP 7. There are already a few, and I suspect
> > we'll have a few more before it's shipped.
>
> Yay! Instead of helping users to keep up to date and respecting their
> needs we give them reasons to stay on old versions for making things
> "cleaner". How wonderful.
>
> All things said for this thread.
How about use INI until PHP8?
BTW, old constructor has problem with traits (is this mentioned already?)
http://3v4l.org/KZKXo
I suppose nobody is using this side effect in production code, but
there would be number of users who are confused by this behavior.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net