CodeSOD: PHP Error Logging
The Daily WTF
JUNE 14, 2023
Today's anonymous submitter sends us some PHP exception logging code. This particular code shows a surprising understanding of some clever PHP tricks. They opted to use var_dump , a handy PHP debugging function which dumps an object's properties to the output buffer. Unfortunately, everything about it is still wrong.
Let's personalize your content