PHP var_dump

This function displays structured information about one or more expressions that includes its type and value. Arrays and objects are explored recursively with values indented to show structure.


$a = array(1, 2, array(“a”, “b”, “c”));

Result : –

array(3) {






array(3) {


string(1) “a”


string(1) “b”


string(1) “c”





$b = 3.1;

$c = true;

var_dump($b, $c);


Result: –




Tagged: ,

2 thoughts on “PHP var_dump

  1. Rashi March 9, 2010 at 5:45 pm Reply

    Yahan par bhi coding kya baat kya baat!!!

    • Vishal Jain March 10, 2010 at 4:41 pm Reply

      Your welcome to my blog.
      kya kare
      coding hi coding….

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: