Hi Jakub,

> The only issue that I see that if you migrate the resource to object you
> effectively drop that property which might be a BC break but based on the
> recent RFC results it will happen in PHP 9.0 so it's not such a big issue.
> I think this might be actually an opportunity to deprecate the usage of
> that property. So if this targeted 8.4, then it would allow us to keep the
> $bucket property there but also deprecate its accessing so users can
> migrate the unlikely use of this property. Other option would be to keep
> the property a an object self-reference but that would be pointless and not
> nice.
>

Totally agreed! Actually I have already written the RFC text with the same
proposal for deprecating the property. :) Will share it in a new thread to
start the discussion period.

Thank you for your feedback,
Máté

>

Reply via email to