this post was submitted on 27 May 2024
3 points (100.0% liked)

PHP

33 readers
3 users here now

founded 1 year ago
 

It's easy to debug a single...

you are viewing a single comment's thread
view the rest of the comments
[–] tsonfeir 1 points 4 months ago

This is a good function to use if you’re working on some old spaghetti code that’s causing errors. It will tell you how to trace the steps it took to get where you are. Often, the error is never right in front of you…. It’s probably a global variable some asshole keeps using.

Looking at you, Josh.