Y
Hacker News
new
|
ask
|
show
|
jobs
by
shakesbeard
779 days ago
That's why every serious PHP programmer is using a static code analysis tool nowadays.
It would easily catch this.
https://phpstan.org/r/a827ff45-4ee2-4bee-8ae0-935832e627b3