Le 23/04/2020 à 14:40, Remi Collet a écrit :
> Hi,
>
> One interesting feature of PHP 8 is the automatic
> generation of arginfo from a stub file.
If you want to have a simple arginfo header for old version
you can use, in your stub
/**
* @generate-function-entries
* @generate-legacy-arginfo
Le 26/04/2020 à 03:16, Timandes White a écrit :
> Hi Remi,
>
> If we use this stub.php file to generate an arginfo.h file, should the src
> package of extension contain stub.php or not?
Yes.
signature.asc
Description: OpenPGP digital signature
Hi Remi,
If we use this stub.php file to generate an arginfo.h file, should the src
package of extension contain stub.php or not?
BTW, thank you for your tips!
Remi Collet 于2020年4月23日周四 下午8:40写道:
> Hi,
>
> One interesting feature of PHP 8 is the automatic
> generation of arginfo from a stub
On Thu, Apr 23, 2020 at 2:41 PM Remi Collet wrote:
> Hi,
>
> One interesting feature of PHP 8 is the automatic
> generation of arginfo from a stub file.
>
>
> Just thinking if this can be used for PECL extension
> and used in PHP 7 compatible version.
>
Hi Remi,
i did use the stub gen script wi