3 ms·
I feel your pain. I make a lot of my money maintaining legacy PHP projects, but I'm hoping to entirely get away from PHP in 2016. It's incredibly difficult to
by smt88 11y ago
I feel your pain. I make a lot of my money maintaining legacy PHP projects, but I'm hoping to entirely get away from PHP in 2016.
It's incredibly difficult to fight the "just rewrite it in [some better language]!" reaction whenever I first look at a code base like the one you're describing.
> trigger_error as a debug mechanism as well
Yeah... unfortunately that sounds very familiar. "Abuses" is a good word for it.
At least with Xdebug, you can use breakpoints instead of "var_dump($whatever); exit;" and you can navigate through your stack trace. No, definitely not as good as Java tooling, though.