Re: Getting fd from stream

From: Date: Sat, 08 Jul 2017 06:49:42 +0000
Subject: Re: Getting fd from stream
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-99821@lists.php.net to get a copy of this message
On 07/08/17 00:47, Sara Golemon wrote: > On Fri, Jul 7, 2017 at 6:14 PM, Sara Golemon <pollita@php.net> wrote: >> On Fri, Jul 7, 2017 at 4:06 PM, Martijn van Duren >> <php@list.imperialat.at> wrote: >>> blah blah blah >>> >> Ignoring the brokenness of your design, the original ask: Exposing the >> underlying FD from a file stream? Sure. No particular objection to >> it, and the stream::set_option interface has the right mechanism to >> surface it in a general way. Find someone to RFC it, and I don't see >> why it won't show up in PHP 7.3. What you're able to do with it is >> your problem. >> > Here's a diff: ^~@k ôÔ‘]�ÁkX > uhttps://github.com/php/php-src/compare/master...sgolemon:expose.fd > > -Sara > Thank you. As per https://wiki.php.net/rfc/howto I created the account martijn. I'd like the Karma to turn this patch into an RFC.

« previous php.internals (#99821) next »