Re: [PHP-DEV] Help please: child processes are not killed when PHP is done

2018-05-17 Thread O'Neil Delpratt
From my investigation an internal library Excelsior Jet is creating the extra threads, which I need to release. > On 17 May 2018, at 09:57, O'Neil Delpratt wrote: > > Hi All, > > I am experiencing a strange behaviour in my PHP extension. My setup: Ubuntu > LTS 16, Apache

Re: [PHP-DEV] RFC WeakRefs

2018-05-17 Thread Joe Watkins
Morning, I'm aware the pecl extension also has weakmap support. I think we've enough time to vote on the implementation of weakrefs, and then think about how we want weak maps to work and vote on the implementation of that. Cheers Joe On Thu, May 17, 2018 at 11:35 AM, Etienne Kneuss

Re: [PHP-DEV] RFC WeakRefs

2018-05-17 Thread Etienne Kneuss
On Thu, May 17, 2018 at 8:10 AM Joe Watkins wrote: > Morning internals, > > I'd like to raise for discussion https://wiki.php.net/rfc/weakrefs > > Am I missing anything ? > I'm all for implementing all this natively, the way it was implemented in pecl-weakref always felt

[PHP-DEV] Help please: child processes are not killed when PHP is done

2018-05-17 Thread O'Neil Delpratt
Hi All, I am experiencing a strange behaviour in my PHP extension. My setup: Ubuntu LTS 16, Apache 2.4, PHP 7.0.30 (tested with PHP 7.1.17) and latest Saxon-HE/C 64bit. Observed behaviour is that Apache spawns a couple of child processes as soon as Saxon is invoked. Problem is that those child

Re: [PHP-DEV] RFC WeakRefs

2018-05-17 Thread Joe Watkins
Morning Rowan, I've updated the RFC with a description of the API and comparison to the current WeakRef API documented by the pecl extension. Example code can be found in tests also ... Cheers Joe On Thu, May 17, 2018 at 9:36 AM, Rowan Collins wrote: > On 17 May 2018

Re: [PHP-DEV] RFC WeakRefs

2018-05-17 Thread Rowan Collins
On 17 May 2018 07:09:28 BST, Joe Watkins wrote: >Morning internals, > >I'd like to raise for discussion https://wiki.php.net/rfc/weakrefs Hi Joe, Sounds exciting! What does this look like from userland? I'm guessing you wrap the object you want a weak reference to in a

[PHP-DEV] RFC WeakRefs

2018-05-17 Thread Joe Watkins
Morning internals, I'd like to raise for discussion https://wiki.php.net/rfc/weakrefs Am I missing anything ? Cheers Joe