Also that table would be generated by Xdebug, not PHP itself. PHP’s traces are plain text by default. That said Xdebug is pretty good in itself, I’ve used it for a decade.
The stack traces are fine. You can even define a global handler for unhandled exceptions to log them, and it gives you an opportunity to also inspect every value of every function argument and whatnot. It’s not lacking in debugging abilities that way.
If you’re gonna make fun of PHP errors, at least make fun of “PHP Error: Unexpected T_PAAMAYIM_NEKUDOTAYIM on line 69”.
For those not in the know, the T_PAAMAYIM_NEKUDOTAYIM is just a double colon like this ::
It’s a scope resolution operator for example to directly access a class constant or method without an instance.
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
Posts must be relevant to programming, programmers, or computer science.
No NSFW content.
Jokes must be in good taste. No hate speech, bigotry, etc.
Also that table would be generated by Xdebug, not PHP itself. PHP’s traces are plain text by default. That said Xdebug is pretty good in itself, I’ve used it for a decade.
The stack traces are fine. You can even define a global handler for unhandled exceptions to log them, and it gives you an opportunity to also inspect every value of every function argument and whatnot. It’s not lacking in debugging abilities that way.
If you’re gonna make fun of PHP errors, at least make fun of “PHP Error: Unexpected T_PAAMAYIM_NEKUDOTAYIM on line 69”.
For those not in the know, the T_PAAMAYIM_NEKUDOTAYIM is just a double colon like this ::
It’s a scope resolution operator for example to directly access a class constant or method without an instance.