Skip to content

Instantly share code, notes, and snippets.

@yanknudtskov
Created May 10, 2020 13:20
Show Gist options
  • Select an option

  • Save yanknudtskov/e49cdd679321f93c8afb2a0f70177065 to your computer and use it in GitHub Desktop.

Select an option

Save yanknudtskov/e49cdd679321f93c8afb2a0f70177065 to your computer and use it in GitHub Desktop.
Pretty print_r
<?php
$the_object = array( 'your' => 'object' );
print( '<pre>' . print_r( $the_object, true ) . '</pre>' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment