debug_zval_dump
(PHP 4 >= 4.2.0, PHP 5)
debug_zval_dump -- Dumps a string representation of an internal zend value to output
Description
void
debug_zval_dump ( mixed variable )
Dumps a string representation of an internal zend value to output.
Parameters
- variable
The variable being evaluated.
Return Values
No value is returned.
Examples
Example 1. debug_zval_dump() example
<?php $var1 = 'Hello World'; $var2 = '';
$var2 =& $var1;
debug_zval_dump($var1); ?>
|
The above example will output: string(11) "Hello World" refcount(1) |
|