Forgotten Throw

no-email (Damien Seguy), Damien Seguy
Thu, 08 Sep 2022 00:00:00 +0000

Sometimes, the ``throw`` keyword is forgotten, even as it is needed. It is difficult to realize it is missing: PHP instantiates correctly the exception, yet it immediately ignores it, as there is no usage of that exception: no error is reported. One need to identify a situation with an error, understand that the error is missing.