Re: [RFC] Remove PHP 4 Constructors

From: Date: Sat, 17 Jan 2015 13:38:37 +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 [email protected] to get a copy of this message
Hi Pierre!

On 17/01/15 08:02, Pierre Joye wrote:
> On Jan 17, 2015 5:58 PM, "Tony Marston" <[email protected]> wrote:
>>
>> "Stelian Mocanita"  wrote in message
>> news:CAMc0WS5LpdVqF_5P8UiWBzuQc+maX+Shmmi8pZLgGRfOJ7aEmg@mail.gmail.com...
>>>
>>>
>>> Florian Margaine wrote on 16/01/2015 13:01:
>>>
>>> Hi Stelian,
>>>>
>>>>
>>>> Stelian Mocanita writes:
>>>>
>>>> Not under active development doesn't mean that the application shouldn't
>>>> be able to upgrade PHP and enjoy the bug/security fixes or performance
>>>> improvements that new versions provide.
>>
>>
>> I agree. If the core developers want each new release, with its bug fixes
>> and security enhancements, to be adopted by the community then they should
>> stop breaking BC for no good reason.
> 
> Can wie stop using this argument pls?
> 
> We are talking about something deprecated since 10 years, about the 1st
> major release in a decade, something we will use for the next 12-14 years.
> 
> 5.x will be maintained as well for the next 3 years (plus distros LTS). We
> do not break BC since quite some time too in minor releases.
> 
> Cheers,
> Pierre
> 

Wouldn't be better if we borrow things from Perl? I mean, we have an
'strict mode' (use strict; perhaps) where deprecated things doesn't
work at all and they throw exceptions (such as the old PH4 constructors
for instance).

Cheers,
-- 
César D. Rodas
Open Source developer
+595-983-161124
PGP: F9ED A265 A3AB C8A1 D145 7368 158A 0336 C707 0AA6



Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc

Thread (115 messages)

« previous php.internals (#80694) next »