Skip to content

underblob

<アンダブロッブ />

Tag: object

Print Object Snippet

This is a handy way to output a complex object or nested array with PHP while retaining the visual structured indentation:

echo '<pre>' . print_r ( $complexobject, true ) . '</pre>';
Author underblobPosted on 2011.01.24Categories TechTags array, object, output, PHP, print_r, snippet, variable
underblob Proudly powered by WordPress