mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Another missing function described by Leon Atkinson.
There are a lot of missing functions in the manual, so Leon should be in cvsusers. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@19842 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
50e5ef868d
commit
0036f4c3ee
1 changed files with 37 additions and 1 deletions
|
@ -556,8 +556,44 @@ unset( $bar['quux'] );
|
|||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<refentry id="function.var-dump">
|
||||
<refnamediv>
|
||||
<refname>var_dump</refname>
|
||||
<refpurpose>
|
||||
Dumps information about a variable.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcdef>void <function>var_dump</function></funcdef>
|
||||
<paramdef>mixed <parameter>expression</parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<simpara>
|
||||
This function returns structured information about an expression
|
||||
that includes its type and value. Arrays are explored
|
||||
recursively with values indented to show structure.
|
||||
</simpara>
|
||||
<simpara>
|
||||
Compare <function>var_dump</function> to
|
||||
<function>print_r</function>.
|
||||
</simpara>
|
||||
<para>
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<pre>
|
||||
<?php
|
||||
$a = array (1, 2, array ("a", "b", "c"));
|
||||
var_dump ($a);
|
||||
?>
|
||||
</pre>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
</reference>
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
|
Loading…
Reference in a new issue