How to quickly debug on PHP

Quickly debug oh PHP via logging

PHP

You can quickly debug using console logs

error_log(print_r($your_var, TRUE));