var_dump

(PHP 3>= 3.0.5, PHP 4 )

var_dump -- Dumps information about a variable

Description

void var_dump (mixed expression)

This function returns structured information about an expression that includes its type and value. Arrays are explored recursively with values indented to show structure.

Compare var_dump() to print_r().


<pre>
<?php
    $a = array (1, 2, array ("a", "b", "c"));
    var_dump ($a);
?>
</pre>
      


HIVE: All information for read only. Please respect copyright!
Hosted by hive КГБ: Киевская городская библиотека