Stop Ignoring Important Returns with PHP 8.5’s `#[\NoDiscard]` Attribute
Link – – www.amitmerchant.com
The #[\NoDiscard] is a safety feature for PHP developers, making it easier to catch mistakes where ignoring a function’s return value could lead to bugs.
Read more [www.amitmerchant.com]