Skip to content

underblob

<アンダブロッブ />

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

Post navigation

Previous Previous post: HTML5 Doctype Snippet
Next Next post: Filter Access by IP Address
underblob Proudly powered by WordPress