' . PHP_EOL . PHP_EOL; $vars = func_get_args(); foreach ( $vars as $var ) { echo '
'; if ( is_scalar( $var ) || is_null( $var ) ) { var_dump( $var ); } else { echo PHP_EOL; print_r( $var ); echo PHP_EOL; } echo '' . PHP_EOL; } /* echo PHP_EOL . '
' . PHP_EOL; print_r( $backtrace ); echo PHP_EOL . '' . PHP_EOL; $html = ob_get_contents(); ob_end_clean(); if ( 'XMLHttpRequest' == __getHttpHeader( 'X_REQUESTED_WITH' ) ) { $html = str_replace( array( '
', ''), array( "\n", "\n", '' ), $html ); $html = str_replace( array( '
'; if ( is_scalar( $var ) || is_null( $var ) ) { var_dump( $var ); } else { print_r( $var ); } echo ''; } return true; } }