What is use of var_dump?

What is use of var_dump?

Team Leader Asked on February 11, 2017 in PHP.
Add Comment
1 Answer(s)


    var_dump()- This function displays structured information about a variable including its type and value.

    $arr = array("x", "y", "z");


    array(3) { [0]=> string(1) “x” [1]=> string(1) “y” [2]=> string(1) “z” }

    IT Head Answered on June 29, 2017.
    Add Comment

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.