Hello Andrea,

On Thu, Jan 15, 2015 at 10:55 AM, Andrea Faulds <a...@ajf.me> wrote:

> Hey Levi,
>
> Upon further thought, I’m not super-enthusiastic about this. As has been
> pointed out, it’s a pretty serious BC break, whether code can be
> automatically updated or not. PHP 4 constructors may be obsolete, but an
> awful lot of code uses them.
>
> A better solution, IMO, might be simply to add a deprecation notice. This
> would make it obvious during development if you’ve accidentally defined a
> PHP4 constructor, and would encourage migration away from them, but
> wouldn’t prevent existing code from working.
>
> Thoughts?
>

I would be against a deprecation notice here.  In fact I think it should
either be do nothing or remove them entirely.  I know this thread has
become out of control but as a user of PHP 3, 4 and 5; a framework
developer; and a engineering executive I find that the PHP 4 style
constructors to be an ignorance that I am forced to currently deal with.

The amount of information in this post is vast and I don't feel I need to
go into details.  However, I support this proposal 100% as do I feel most
of the open source community.  Items that are still out there relying on
PEAR and other packages should remain on PHP 5 or even less.  We have
better solutions now such as composer which has changed the ecosystems
reliance on items such as PEAR.

Developers that are relying on PEAR have other issues to date than simply
what would happen with PHP 7 as not all PEAR packages work well with PHP 5
at this time especially the latest releases.  PEAR is a thing that has come
and gone.  Legacy code that still remains with PHP 4 style constructors
should upgrade to the latest.  Language evolve and we need to keep pushing
the bar forward.

As a personal note, PHP has slowly been moving towards the background for
certain applications for JavaScript (nodejs) and I feel for PHP to remain
it's competitive market it needs to evolve more as a leading language.  PHP
was great about this between 3, 4 and 5.  7 must do the same thing
otherwise I feel like it will lead to a slow death much like the perl of
old.

Regards,

Mike

Reply via email to