Re: [PHP-DEV] [RFC] Add dedicated StreamBucket object

2024-03-20 Thread Máté Kocsis
Hey Nicolas, Sorry for the multi-months pause, I was working on other stuff recently. Thank you again for the insights! I'm not sure anyone besides you has ever used this property, but now we know about at least one use-case. :) That's why I slightly changed the proposal: the property would only

Re: [PHP-DEV] [RFC] Add dedicated StreamBucket object

2024-01-20 Thread Nicolas Grekas
Le sam. 20 janv. 2024 à 13:42, Máté Kocsis a écrit : > > What should users replace $bucket property with in PHP 8.4? Is there > > an alternative or is this a deprecation without a way to solve it? If > > there is currently no alternative I would not deprecate it. Just > > remove it once it become

Re: [PHP-DEV] [RFC] Add dedicated StreamBucket object

2024-01-20 Thread Máté Kocsis
> What should users replace $bucket property with in PHP 8.4? Is there > an alternative or is this a deprecation without a way to solve it? If > there is currently no alternative I would not deprecate it. Just > remove it once it becomes useless. > Do users actually use the $bucket property? I wou

Re: [PHP-DEV] [RFC] Add dedicated StreamBucket object

2024-01-19 Thread Kamil Tekiela
What should users replace $bucket property with in PHP 8.4? Is there an alternative or is this a deprecation without a way to solve it? If there is currently no alternative I would not deprecate it. Just remove it once it becomes useless. -- PHP Internals - PHP Runtime Development Mailing List To

[PHP-DEV] [RFC] Add dedicated StreamBucket object

2024-01-19 Thread Máté Kocsis
Hi Internals, As I have already shared my intentions in https://externals.io/message/122149, I'd like to add a dedicated object for stream buckets as opposed to the stdClass instances which are used nowadays. Please read https://wiki.php.net/rfc/dedicated_stream_bucket Regards, Máté