3 ms·
> Some of us used to wrap php "errors" to convert them into exceptions. Did exactly that back in the day, this comparison is flawed: PHP errors (and warnings,
by neuromanser 3y ago
> Some of us used to wrap php "errors" to convert them into exceptions.
Did exactly that back in the day, this comparison is flawed: PHP errors (and warnings, notices) by default went completely outside the flow of the program, and converting them to exceptions was a means of forcing developers to deck with them right away, sometimes at all.