Re: Annotated PHP 5->7 extension diff
| From: | Rasmus Lerdorf | Date: | Thu, 05 Feb 2015 23:44:58 +0000 |
| Subject: | Re: Annotated PHP 5->7 extension diff | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81978@lists.php.net to get a copy of this message | ||
On Feb 5, 2015, at 17:41, "guilhermeblanco@gmail.com" <guilhermeblanco@gmail..com>
wrote:
>
> Hi Rasmus,
>
> Thanks for the highlight.
> My biggest concern about all this breakage done for NG could somehow be minimized by providing
> possible alternate implementations that could work both backwards compatible and forwards
> compatible?
> I just don't want to work on extensions I support that would never be usable in earlier
> versions once finished the update.
>
> Maybe it would be interesting to have samples of before/after (like you did) and also samples
> of of compatibility pieces for PHP 7- and PHP 7+.
That is one of the reasons an annotated diff would be good. All the changes in the diff aren't
strictly needed. I didn't need to change from "s" to "S" in ZPP and the
accompanying change to zend_string for example, but I find the new API cleaner and less error-prone.
-Rasmus
Attachment: [application/pkcs7-signature] smime.p7s
Attachment: [application/pkcs7-signature] smime.p7s