Re: Proposal for serious BC compatibility aka language versioning
| From: | Rasmus Lerdorf | Date: | Sun, 03 Feb 2013 22:06:47 +0000 |
| Subject: | Re: Proposal for serious BC compatibility aka language versioning | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-65587@lists.php.net to get a copy of this message | ||
On 02/03/2013 02:03 PM, Karoly Negyesi wrote:
> Well, fixing a segfault, adding a new function or method as it oft
> happened in PHP 5.3 is only breaking forwards compatibility not
> backwards -- if you have code that ran on PHP 5.3.4 it'll run on
> 5.3.5. The reverse is not true which causes some headaches to Drupal
> developers but it's not relevant to this discussion.
>
> So, what about adding a version string to the opening <?php tag so
> that you can fix bugs while not breaking BC :P ?
We had that in the past and it was a mess. We are not going to make that
mistake again.
-Rasmus