Question regarding packaging for PHP7
| From: | Ruslan Osmanov | Date: | Sun, 15 Nov 2015 10:30:12 +0000 |
| Subject: | Question regarding packaging for PHP7 | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-13316@lists.php.net to get a copy of this message | ||
Hi,
how do I package a PHP7 extension?
Say, we have an extension with PHP5+ support with version 1.0.0. Since
PHP7 internal API is not backwards compatible, we're re-writing the
code in a branch. We bump its version to 2.0.0. Now what happens, if we
upload the PHP7 version to PECL? A PHP6 user will be unable to build
it. He won't be able to upgrade the extension either.
The only thing I can do is to specify minimum PHP version in
package.xml. Is it enough?
--
Ruslan Osmanov
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc