Andrew Faulds wrote:
Boo hoo, PHP has new features, you'll have to understand them, shock horror!
Actually I've not even look at some of these newfangled bits, and if they did
appear in one of my key libraries then I'd definitely fork a version and
maintain my own copy! I'm STILL trying to catch up with 'strict'!
Also, PHP5 code playing nicely with PHP4? I'm pretty sure PHP4 had big, big
incompatibilities with PHP5. Although I'm too recent a PHP programmer to have
ever had to deal with that. I've only ever dealt with PHP5. But I know that PHP4
had pass-by-value objects, and PHP5 had pass-by-reference, so I'm surprised if
PHP5 code works correctly in PHP4.
Perhaps that is part of the problem here. BC to many older users implied that we
could run code that was compatible - YES - with PHP4 while also working in PHP5.
It did get to a point where one had to freeze the PHP4 compatible version and
maintain that separately, but it was not that long ago ( was it? ).
Nowadays PHP5.0 and 5.1 code needed upgrading to run on 5.2, and now 5.2 code
needs upgrading but will not necessarily then run on the many 5.2 hosted ISPs
when upgraded. We all know that getting ISPs to upgrade is an up hill battle.
SOME are still on PHP4! And they certainly will not roll out every version, but
jump large blocks, so PHP5.2 is probably still more prevalent than 5.3, and 5.4
has yet to get even an initial roll out in some distributions? So we either
support the client base with what they have access to, or we ignore them and
write code for a limited audience. I'm making the code base 'strict compliant',
but still having to test on PHP5.2 at the same time which increases the time
this is taking.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php