Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99822 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53844 invoked from network); 8 Jul 2017 10:45:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jul 2017 10:45:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.46 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.218.46 mail-oi0-f46.google.com Received: from [209.85.218.46] ([209.85.218.46:33472] helo=mail-oi0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/87-47109-AA7B0695 for ; Sat, 08 Jul 2017 06:45:00 -0400 Received: by mail-oi0-f46.google.com with SMTP id p188so45085918oia.0 for ; Sat, 08 Jul 2017 03:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MEQ4k9AC+Je8QkE9bvSgUXY8nLOzzQSrN6ifBPmNsqA=; b=T+0Vj9FQ9Mnr0fLZvv+IUTGfbz+zCvejnn4e5ZA/8yDaVEZeg5jfNGQwudqJI8LueP TZze0JcbkTwrb9qm0zb2LL97J3wPJBDrbczAHSFVGfK1E8fu3J/sl9MfAsJ2HLzvNMqV wZtYzzqSu0o8JXRbTKJ7FOi90ZL5ipN2mGRN/peD1fE7EF3Ln+TLJc+VlRlxavlJpKB8 mh7CZh1yJtOMebyybfn2CePjr3yhEvE08g/i4cUNjhagBKHArFU/W6o7xr5GTrjufwhu 8SW8hgIdrIciuWYftE95CGd57DGvvA76hRwKOKL7ZJSHGOd1bWYLHOGR+b/FuEs85Y4o qCHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MEQ4k9AC+Je8QkE9bvSgUXY8nLOzzQSrN6ifBPmNsqA=; b=kU67kI2e4RkW12hj4V7Zlfhbt5ZM5/up/qMGsDOubTPKrBUjTanlPEMasvK6UbUasg FgqQuBf06TODiNBs+24xfG8d2hT1q2hw+6YCS+poeAoq1y9NaiQIusKjL1WH4Va9Ezai ytFGwfDyZt/tb2Td9xYcs4gm4xDwMAl2ugSPpQAuMTsVqHrh91fMa134P1BClYG3uxH4 YHc3Tehk+BkwzEa2o7CklLZoumOYJWzpzdcO4Cn1swmZMTzYu5Amje3MhHVaGvxSefVQ g3LFtfNWGBgP1kTCwPPKkJ8gXSIHBSDLJdCxEhfi/rJRJe520oqv5RKVR/KPnPftWfE7 Pg0w== X-Gm-Message-State: AIVw112E/2hVzVUoG+GThijnN3ebI/SsKfAvLxkNuo/q3LGhp0yf4Ewj AS47zfusbrq8syHr6byjltHNOBET9Q== X-Received: by 10.202.228.8 with SMTP id b8mr3468033oih.223.1499510695394; Sat, 08 Jul 2017 03:44:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.70.1 with HTTP; Sat, 8 Jul 2017 03:44:54 -0700 (PDT) In-Reply-To: References: <105535b4-a629-b2e4-c5e9-a75ff565b054@list.imperialat.at> <0b2f0634-e8af-4e93-5cd4-3471d968cb2c@list.imperialat.at> <3cdf9d19-a0f9-e4bf-f243-8ba501e60d76@list.imperialat.at> Date: Sat, 8 Jul 2017 12:44:54 +0200 Message-ID: To: Martijn van Duren Cc: Sara Golemon , Niklas Keller , Bob Weinand , Kalle Sommer Nielsen , Internals Content-Type: multipart/alternative; boundary="001a11408bea5605c80553cc0aee" Subject: Re: [PHP-DEV] Getting fd from stream From: tyra3l@gmail.com (Ferenc Kovacs) --001a11408bea5605c80553cc0aee Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jul 8, 2017 at 8:49 AM, Martijn van Duren wrote: > 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 > >> 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 > > > 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. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > I've granted you with rfc karma on the wiki. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001a11408bea5605c80553cc0aee--