Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

var_dump()

var_dump() displays the information in a variable or any data container. It is a debugging function.

var_dump() is one of the most famous PHP functions. It is often related to print_r() and var_export().

<?php

    $a = true;
    var_dump($a);
    // bool(true)

?>

Documentation

See Also