PHP Array Beautifier

Version 3.2

This simple tool takes an array or object output in PHP, such as a print_r() statement and formats it to be easily readable.
A new feature includes the ability to expand and contract the array to make things more manageable.
In addition, if you would like to re-use the array, you can unserialize the object's serialized string, also exported.

Pretty awesome code, I’ve been klioong to add this to my personal blog, but this will do much better than a plugin =D@Minnesota Attorney, no the code does all the work really, it’s not a built in thing to wordpress.Till then,Jean

Known Issues with v1 and v2: Extra added parenthesis
v3 accounts for most of these using Regex searches instead of simple iterative character searches.
Note, there are still off-cases that can break it. The nature of the print_r format.

Works well! It is not obvious, thugoh. Will new users know to click on the yellow bubble or time stamp?Within the thread itself, perhaps you can put the same yellow bubble next to the title of the thread to keep things consistent? Maybe a yellow bubble with a down arrow?

Wow man I’ve been using this for quite a while now and it saved me sooo much time.
Thanks a lot, really appreciated!

Maybe an extra useful feature, especially for large multidimensional arrays:
The possibility to expand and contract each array (with a minus and plus icon in front of each array).
This way you have a lot more overview and you need to scroll less.

I think there’s a problem when I have an array with quotation marks in the v3, for example if I have a key [ABC's] => Array (Content)
It will read it as [ABC/'s] => “Array (” [Content]
v2 works fine with that, thanks