-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le 16/11/2015 11:16, Derick Rethans a écrit : > On Mon, 16 Nov 2015, Ruslan Osmanov wrote: > >> Some people are making "compatibility headers" consisting of a >> big number of macros. It's inconvenient for extensions widely >> using Zend API. It's not very beautiful solution as well. >> >> I got an idea: config.m4 can take care by means of a couple of >> directories: php7 and pre-php7. But the package size will be >> nearly doubled. What do you think about it? > > I wouldn't worry about the package size. I think this could be an > elegant enough solution if you have two different codebases.
See https://github.com/pierrejoye/php_zip Remi. > >> Perhaps, somebody has invented an elegant solution already? > > For Xdebug (and VLD), using macros between PHP 5.x and PHP 7.0 > seems to work well enough. It wasn't as nearly as bad as I feared. > > cheers, Derick > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlZJrpsACgkQYUppBSnxahjZ+gCeIPFFZTxRO9J7KYubm9aaIbLn lWsAn0ZDpg20sX6iqwy3y0/795pMoy2R =66oU -----END PGP SIGNATURE----- -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
