Advanced variable/object inspection
- Inspect any kind of variable or object
- Complete visualizzation with type and lenght
- Optional title
- Clear view with indentation, bold, etc
- Platform independent
- Tested with PHP 5
1 2 3 4 5 6 7 8 | function vd(&$in, $title='') #inspect the content of a variable/object { echo '<pre style="font-family: monospace; font-size: small;">'; if(strlen($title)> 1) echo '<strong>' . $title . '</strong>::'; var_dump($in); echo '</pre>'; } |
(License)



No comments yet.
Leave a comment