Re: [PHP-DEV] Making stream functions accepting SplFileObject as valid parameter

2017-10-05 Thread ignace nyamagana butera
Does adding new methods to SplFileObject easier ? It would mean adding a getMetaData() (to return stream_get_meta_data infos) method and (append/prepend/remove)Filter methods to add stream filters API. On Tue, Oct 3, 2017 at 5:21 PM, Sara Golemon wrote: > On Tue, Oct 3, 2017 at 9:44 AM, Dan Ac

Re: [PHP-DEV] Expose gmp_ce and friends

2017-10-05 Thread Johannes Schlüter
On Mo, 2017-10-02 at 17:33 -0400, Sara Golemon wrote: > Stas specifically, but also others: > > Any objections if I apply > https://github.com/php/php-src/compare/master...sgolemon:gmp.export > to > make consuming GMP objects from third-party extensions easier? > > -Sara I would prefer not expor

Re: [PHP-DEV] RFC proposal: Provide support for XSLT 3.0, XPath 3.1, and XQuery 3.1

2017-10-05 Thread Johannes Schlüter
On Mi, 2017-10-04 at 11:23 -0700, Walter Parker wrote: > Sorry, my mistake. I didn't notice when PHP changed from GPL style to > BSD style. > Hard to remember, since that happened already during the last century (with PHP 3 in 1997) ;-) And yes, LGPL modules are tolerable, but not liked. GPL is

Re: [PHP-DEV] Making stream functions accepting SplFileObject as valid parameter

2017-10-05 Thread Sara Golemon
On Thu, Oct 5, 2017 at 6:42 AM, ignace nyamagana butera wrote: > Does adding new methods to SplFileObject easier ? It would mean adding a > getMetaData() (to return stream_get_meta_data infos) method and > (append/prepend/remove)Filter methods to add stream filters API. > That's still a hack, and

Re: [PHP-DEV] Expose gmp_ce and friends

2017-10-05 Thread Sara Golemon
On Thu, Oct 5, 2017 at 8:50 AM, Johannes Schlüter wrote: > I would prefer not exporting the php_gmp.h, but a gmp.h (or similar) > and let php_gmp.h there for main/builtin_functions.c only. If a > consumer wants access to the module_entry they can query EG(modules) > and other declarations in there

[PHP-DEV] Re: [VOTE] JSON_THROW_ON_ERROR

2017-10-05 Thread Andrea Faulds
Hi again, I'm happy to report JSON_THROW_ON_ERROR was unanimously accepted with 23 votes. Hopefully it can be merged soon. Now would be a good time to review the pull request if desired. Thanks for discussing and voting! -- Andrea Faulds https://ajf.me/ -- PHP Internals - PHP Runtime Deve