Re: [PECL-DEV] Re: Using arginfo generating stubs in PECL extensions

2020-12-11 Thread Remi Collet
Le 11/12/2020 à 19:16, Calvin Buckley a écrit : Interestingly, it *does* seem to keep the legacy arginfo header. Going back to question #2/#4 (since the build system hasn't changed, just what gets made by phpize et al), running make with "-d", it appears GNU make deletes it because it's an

[PECL-DEV] Re: Using arginfo generating stubs in PECL extensions

2020-12-11 Thread Calvin Buckley
On Fri, 2020-12-11 at 19:02 +0100, Christoph M. Becker wrote: > > 3. Are the headers that get generated have any guarantees on > > usability > > in PHP 7.x? > > They are not usable on PHP 7 due to some missing macros.  It is > possible > to use define the macros for older PHP versions, but you

[PECL-DEV] Re: Using arginfo generating stubs in PECL extensions

2020-12-11 Thread Christoph M. Becker
On 11.12.2020 at 16:39, Calvin Buckley wrote: > Might be better in php-internals (haven't subbed yet), but: > > I noticed one of the new facilities in PHP 8 was generating arginfo > from a PHP stub. This is pretty useful for reasons elaborated > elsewhere, but I'm wondering how this should be

[PECL-DEV] Using arginfo generating stubs in PECL extensions

2020-12-11 Thread Calvin Buckley
Might be better in php-internals (haven't subbed yet), but: I noticed one of the new facilities in PHP 8 was generating arginfo from a PHP stub. This is pretty useful for reasons elaborated elsewhere, but I'm wondering how this should be used for PECL extensions. I noticed what PHP itself does is