At 07:03 17/02/2003, Lord Loh. wrote:
Future compatibility
===============

Php and zend have constantly been discarding old syntax...making it
deprecated and all...

How can I be sure that a code I write will run for ever (or at least 10
years) irrespective of future PHP versions...

Is there a list of syntax that php plans to discard...

for example(only example): The DBX library I have is giving warnings with
mysql...
PHP is a live, evolving language. Like all evolving languages, there are cases where existing features have to be altered in a way that is downwards incompatible, despite our efforts to avoid compatibility breaking changes.

There is no sure-fire way to ensure that your code will be upwards compatible with future PHP versions for time periods as long as 10 years. That is the case with virtually all other live language, including Java, C++ and Perl. If you want to take advantage of the new features in new versions, then the price tag attached is that there'll be sometimes compatibility breaking changes that you would have to live with. Typically it's a small price to pay for the extra features, but if you're not willing to pay it, you do have the option of not upgrading.

Zeev


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to