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

PHP

33 readers
3 users here now

founded 2 years ago
 

It's easy to debug a single...

top 1 comments
sorted by: hot top controversial new old
[–] tsonfeir 1 points 5 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.