I am trying to understand an OO PHP application that landed on my desk. When I do a print_r or var_dump of a large array, I can get 18000+ lines.
Is there an on-line tool or class that can used to view and search the results better? For instance I have value named “company_name” which is three levels deep, it can take time to figure out a way to access it directly.
I would set up Eclipse and XDebug and run the code through the debugger. But even without the debugger, you can set up just xdebug, and get enhanced outputs of var_dump.
Example: