Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

var_dump beautifier

//Var-Export
echo '<pre>' . var_export($data, true) . '</pre>';

//Function
function highlight_array($array, $name = 'var') {
    highlight_string("<?php
$$name =
" . var_export($array, true) . ";
?>");
}
 
PREVIOUS NEXT
Tagged: #beautifier
ADD COMMENT
Topic
Name
8+9 =