Re: Digest for php-fig@googlegroups.com - 1 update in 1 topic

32 views
Skip to first unread message

Steve McDougall

unread,
Dec 31, 2024, 12:55:03 PM12/31/24
to php...@googlegroups.com
Thanks for this Will,

Which implementation have you tested this implementation in?

On Tue, Dec 31, 2024 at 4:13 PM <php...@googlegroups.com> wrote:
William Entriken <wi...@pacificmedicaltraining.com>: Dec 30 10:00AM -0800

The `getContents` function in PSR-7. Is not idempotent, calling changes
state.
 
It is a dangerous function compared to its friendly name starting with
"get".
 
It would be best to rename this with a more appropriate verb at the
beginning. But we are not considering backwards incompatible changes here.
 
Instead, please recognize this break with best practice by updating
documentation to use loud uppercase letters to warn that this is not
idempotent.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to php-fig+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages