Back

2019-05-29 - php debugging

While workin on php, I have found some tricks to making my life easier.
When I first started with php, I had die("here"); splattered through my code, as I progressed, things got a little better, I discovered error_log("here". $value)
This is my latest version:
error_log(__FILE__. '::' .__METHOD__.':'. $value);



Edit post.