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

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to