Le mercredi 31 octobre 2018 15:49:44 UTC+1, Matthew Weier O'Phinney a 
écrit :
>
>
>
> On Wed, Oct 31, 2018 at 5:01 AM Lcfvs <michael...@gmail.com <javascript:>> 
> wrote:
>
>> Hi all,
>>
>> I just sent a proposal to add an interface to describe a late stream, 
>> which doesn't requires an already opened resource.
>>
>> For the proposal, see https://github.com/php-fig/http-message/pull/82
>>
>> As said by Jean85:
>>
>> This is a completely non-trivial change to the spec, and also not an 
>>> errata. I would say that you should push for this change opening a 
>>> discussion on the PHP-FIG mailing list...
>>>
>>
>> ... then I'm here. :D 
>>
>> My motivation is about the 
>>
>>    - server limitations (max opened files)
>>    - performances in case of unused streams
>>    - the ability to get a stream of broken uploaded file
>>    - ...
>>
>> Indeed, it isn't an errata, I made it to avoid any breaking changes, it's 
>> why a new interface.
>>
>> What do you think about it?
>>
>
> I think it's quite interesting, but any substantive change - which 
> includes additions and removals — requires either errata or a new PSR. 
> Generally errata are reserved for changes to the existing interfaces and/or 
> narrative, while additions and removals require new PSRs.
>
> Honestly, we need to likely update PSR-7 to PHP 7.1, to allow for scalar 
> and return type hints, which also requires a new PSR, and this would fit in 
> that nicely.
>
> -- 
> Matthew Weier O'Phinney
> mweiero...@gmail.com <javascript:>
> https://mwop.net/
>


Thanks guys, for these first advices. :)

If you make a PSR-7 "bis", maybe it can merge it with the current 
StreamInterface, to have that behavior by default, no ?

I'm strongly interested about it, currently making a new framework.

Actually, I use mine, extending the PSR-7 but if I can avoid ^^

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to php-fig+unsubscr...@googlegroups.com.
To post to this group, send email to php-fig@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/d847e944-b3e2-4074-85b6-9200727e8056%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to