Re: RFC karma request
| From: | Niels Dossche | Date: | Sun, 12 Feb 2023 12:59:25 +0000 |
| Subject: | Re: RFC karma request | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-119526@lists.php.net to get a copy of this message | ||
On 12/02/2023 13:47, Hans Henrik Bergan wrote:
> Fwiw I would also find an $offset argument useful. fpassthru's lack of both
> $length and $offset made my life harder when implementing "HTTP 206 Partial
> Content" / "HTTP range requests",
>
> Ended up with a
> $output = fopen('php://output', 'wb'); + stream_copy_to_stream()
> hack because of fpassthru's shortcomings (Thanks to cmb for that hack, by
> the way)
>
>
> On Sat, Feb 11, 2023, 15:26 Niels Dossche <dossche.niels@gmail.com> wrote:
>
>> Dear internals
>>
>>
>> I would like to gain RFC karma for creating and proposing an RFC:
>> "Implement GH-9673: $length argument for fpassthru".
>> Account name: nielsdos
>>
>>
>> Thanks in advance
>> Kind regards
>> Niels
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: https://www.php.net/unsub.php
>>
>>
>
I agree, it's also even more consistent with the other PHP functions, which I like.