Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99816 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17163 invoked from network); 7 Jul 2017 22:14:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jul 2017 22:14:48 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.128.174 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.128.174 mail-wr0-f174.google.com Received: from [209.85.128.174] ([209.85.128.174:35068] helo=mail-wr0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FE/D4-47109-6D700695 for ; Fri, 07 Jul 2017 18:14:47 -0400 Received: by mail-wr0-f174.google.com with SMTP id k67so64298277wrc.2 for ; Fri, 07 Jul 2017 15:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=7vJnssqKgoWlOBUuSpXFbJcB00mP5EDoR3yDvbtaUpc=; b=1mi4ASCW9egkIT8MQhhsfs5BAKOiAMKyMj41kqoNGK963wlheIIused7CR47+8gIah 13x71Zr3Nq0zPaJv+4+ztz+AAZnrbF0gQg849xVU2uXPcAalYu8F8WyYZsKIVrBrwJbv 9JWQi6VBRpGGJ1nXdJX8mKedLz1nkKr4pAhnrvJZmDszMTv5dL2v9mNW6EAxdM8poeki 8Z5xhvK7StzajGkD2BBGwUg99rIVnbozsFznro0b8GsHvxq2n6DTdTl5zThsvbUIpRAG OtDD15DmWRwYf/4RDqdFrjtAn2Pyeh5j6zs8qr8jXa+/7bilEE7zL8r+ISEWG7OEL6jn 8zjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=7vJnssqKgoWlOBUuSpXFbJcB00mP5EDoR3yDvbtaUpc=; b=iATcK0zVlrumlfDEkbki1AohXqBtfoD8ZmDzNqRD8rTwcxT4WG0C5KtAHLOntj7bZF keHNC3ZGmTzaCPHQRG8nD+oqsZ7Qgf7StK2Se+VFrF0aN+HufEr81mlIvbgFvCb+T0ni ZWSXO2kAh9mTw4RtMANUXVwOwnEKnHg4MxJUryTjA8andE+KePch37577GKELJCLlVId IqZKb1if5eur+hwiQawQGY5FatF/npJAeTZioKuEOpCHY6MtwZzARwqE3SHtccKmLDdb ilpxTD4HCNhTAovtIUV7wdefHq4kbE59oEcGMgsdDN1fqPAMbV5CBSINeA5tpcWYgsui 4Qzg== X-Gm-Message-State: AIVw1107oU+Agv13LCG88kC6qJneTLnjV42keBPIq4S3V8OnEj+uWn+8 jfD8ObXe/KPJg3pKqwAVtKrhDqf0yvb6 X-Received: by 10.28.54.217 with SMTP id y86mr538480wmh.81.1499465683493; Fri, 07 Jul 2017 15:14:43 -0700 (PDT) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.223.169.139 with HTTP; Fri, 7 Jul 2017 15:14:42 -0700 (PDT) X-Originating-IP: [71.251.16.204] In-Reply-To: <3cdf9d19-a0f9-e4bf-f243-8ba501e60d76@list.imperialat.at> 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: Fri, 7 Jul 2017 18:14:42 -0400 X-Google-Sender-Auth: zGnyCWoZWEm-AhCz_0wbt8kLr_U Message-ID: To: Martijn van Duren Cc: Niklas Keller , Bob Weinand , Kalle Sommer Nielsen , Internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Getting fd from stream From: pollita@php.net (Sara Golemon) 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. -Sara