Inspectopedia
 
2024.3

'__toString' may throw an exception

Warning
New
Last modified: 03 December 2024

Reports the usages of __toString that may throw an exception, which is not allowed for PHP language level lower than 7.4.