Re: Re: Question regarding packaging for PHP7

From: Date: Mon, 16 Nov 2015 10:16:23 +0000
Subject: Re: Re: Question regarding packaging for PHP7
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-13322@lists.php.net to get a copy of this message
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. > 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

« previous php.pecl.dev (#13322) next »