function myFunc2Debug(){
// output Linenumber and file where funcion was called.
var_dump(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1));
}
myFunc2Debug();
Created
April 5, 2018 00:55
-
-
Save marcus-at-localhost/3f5dbc503fd30fc04b2123d364e36075 to your computer and use it in GitHub Desktop.
[Debug PHP] #php #debug
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment