Pattern: Throwing exception from __toString()
Issue: -
As of PHP 7.4, throwing exceptions from a __toString()
method is allowed.
PHP version 7.4
Pattern: Throwing exception from __toString()
Issue: -
As of PHP 7.4, throwing exceptions from a __toString()
method is allowed.
PHP version 7.4