I think php had a linter for stuff like this. Defensive programming is good, but having tools to do the defending is better so I can use my brain power where it matters
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments