Re: [PHP-DEV] Getting fd from stream

2017-07-07 Thread Martijn van Duren
On 07/08/17 00:47, Sara Golemon wrote: > On Fri, Jul 7, 2017 at 6:14 PM, Sara Golemon wrote: >> On Fri, Jul 7, 2017 at 4:06 PM, Martijn van Duren >> wrote: >>> blah blah blah >>> >> Ignoring the brokenness of your design, the original ask: Exposing the &g

Re: [PHP-DEV] Getting fd from stream

2017-07-07 Thread Martijn van Duren
Hello Ferenc, On 07/07/17 19:49, Ferenc Kovacs wrote: > > > On Thu, Jul 6, 2017 at 11:12 AM, Martijn van Duren <mailto:p...@list.imperialat.at>> wrote: > > Hello internals@, > > I have an (exotic) case where I need to be able to get the > filede

Re: [PHP-DEV] Getting fd from stream

2017-07-07 Thread Martijn van Duren
On 07/07/17 18:03, Sara Golemon wrote >> The point is, regardless of unix - or tcp sockets, they still have an >> underlying file descriptor, which I need to specify to the child, so >> that they can start using it. Ergo, I need to find a way to export this >> from the stream into PHP. >> > You mis

Re: [PHP-DEV] Getting fd from stream

2017-07-07 Thread Martijn van Duren
On 07/07/17 16:38, Sara Golemon wrote: > On Fri, Jul 7, 2017 at 10:04 AM, Martijn van Duren > wrote: >> My use case is to set up a cluster of processes each with their own task >> and permission sets. These processes need to be able to communicate with >> each other ove

Re: [PHP-DEV] Getting fd from stream

2017-07-07 Thread Martijn van Duren
On 07/06/17 20:01, Niklas Keller wrote: >> >> On Thu, Jul 6, 2017 at 10:53 AM, Kalle Sommer Nielsen >> wrote: >>> 2017-07-06 11:12 GMT+02:00 Martijn van Duren : >>>> I have an (exotic) case where I need to be able to get the >>>>

[PHP-DEV] Getting fd from stream

2017-07-06 Thread Martijn van Duren
be a way to extract the information as well from a stream as well. Unfortunately I don't seem to be able to find it. Can someone point me in the right direction? Sincerely, Martijn van Duren -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.ph

Re: [PHP-DEV] Get variable refcount

2017-05-30 Thread Martijn van Duren
On 05/30/17 10:23, Nikita Popov wrote: > On Tue, May 30, 2017 at 9:11 AM, Martijn van Duren > wrote: > >> Hello internals@, >> >> I'm new to this list, so let me first introduce myself. >> My name is Martijn van Duren and I work for a webhosting company in t

[PHP-DEV] Get variable refcount

2017-05-30 Thread Martijn van Duren
Hello internals@, I'm new to this list, so let me first introduce myself. My name is Martijn van Duren and I work for a webhosting company in the Netherlands. Apart from that I'm also an OpenBSD h^Hslacker. tl;dr: How do I properly use Z_REFCOUNT on a zval? I'm faced with the