|
Posted by Jochem Maas on 10/11/05 21:56
Robert Cummings wrote:
> On Tue, 2005-10-11 at 13:57, GamblerZG wrote:
>
>>>><?php //parse this with mod_php4
>>>>function class_method($var){ }
>>>>?>
>>>><?php5 //parse this with mod_php5
>>>>class clazz implements Something{
>>>> function method($var) {
>>>> }
>>>>}
>>>>?>
>>>
>>>Ummm, maybe your speaking alien, but could you clarify how that solves
>>>the problem you are addressing?
>>
>>First, if every version of the language would have it's own tag, then
>>there would be no need to maintain BC beyond reasonable necessity.
>>
>>Second, hosing providers would be more apt to uprade. They would simply
>>add new module without removing the old one. This way both old and new
>>scripts would work perfectly fine without the need for some kind of
>>compatibility mode.
>
>
> Sounds like whole different nightmare. I for one don't want to have to
yeah - they did this with php3 -> php4, it was a mightmare according to the devs,
not so long they reiterated the 'never again' stand point on
internals@list.php.net.
> go through all of my code and change <php to <php5. True, it's a 10
> second script, but then my code doesn't work with <php, ACK now I need
> two versions of MY code to ensure it works for PHP4. No thanks.
>
> Cheers,
> Rob.
[Back to original message]
|