Login
From:
Amit Merchant
(Uncensored)
subscribe
Stop Ignoring Important Returns with PHP 8.5’s `#[\NoDiscard]` Attribute
https://www.amitmerchant.com/the-nodiscard-attribute-in-php-85/
links
backlinks
Tagged with:
php
When writing functions or methods in PHP, we often return values that are crucial for the caller to handle. Usually, those returned values need to be consumed. Check the following example.
Roast topics
Find topics
Find it!