Re: Dedicated StreamBucket class

From: Date: Fri, 19 Jan 2024 14:29:55 +0000
Subject: Re: Dedicated StreamBucket class
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-122189@lists.php.net to get a copy of this message
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é >

« previous php.internals (#122189) next »