Top "Var-dump" questions

var_dump is a PHP function that dumps information about a variable.

cakephp log an array as var_dump

I need to jump into a server side code. It is used cakephp there. I would like to see a …

php cakephp logging var-dump
custom var_dump output for my class

is it possible to override var_dump output for a custom class? I want something like this: class MyClass{ public $…

php var-dump
How to create an array from output of var_dump in PHP?

How can I parse the output of var_dump in PHP to create an array?

php var-dump
var_dump() of strings and variables not showing desired results

I am working on a script that curls another site and then parses the results. I seem to be having …

php arrays string var-dump
PHP JSON Encode not working

This is the var_dump of the array I want to encode into JSON: array(3) { [0]=> array(2) { ["From"]=> string(14) "08 …

php arrays json encode var-dump
PHP: Colors in var_dump (Ubuntu)

I'd like to see the colors and formatting that can come with var_dump. In my php.ini html_errors …

php var-dump
var_dump implementation that limits the depth of nested objects

In the previous question, I asked for an alternative implementation of var_dump that allowed limiting the output of the …

php debugging var-dump
Why does var_dump(array) result in a 500 error in Magento?

I'm trying to see what is inside all the objects of the Magento system, but when I try to var_…

php magento var-dump
PHP - non-recursive var_dump?

When dealing with certain PHP objects, it's possible to do a var_dump() and PHP prints values to the screen …

php var-dump