Re: Getting fd from stream
| From: | Sara Golemon | Date: | Fri, 07 Jul 2017 22:47:01 +0000 |
| Subject: | Re: Getting fd from stream | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99818@lists.php.net to get a copy of this message | ||
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: https://github.com/php/php-src/compare/master...sgolemon:expose.fd
-Sara