Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
I don’t know about wordpress, but in general xdebug did it for php
You can make yourself a function with formatting, like this:
function vardump($var) {
echo '<pre>';
var_dump($var);
echo '</pre>';
}
function dco_print_r($expression, $return = false, $pre = true) {
if ($pre) {
echo '<pre>';
}
print_r($expression, $return);
if ($pre) {
echo '</pre>';
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question