debug_zval_dump

(PHP 4 >= 4.2.0, PHP 5)

debug_zval_dump -- Dumps a string representation of an internal zend value to output

Popis

void debug_zval_dump ( mixed variable )

Dumps a string representation of an internal zend value to output.

Seznam parametrů

variable

The variable being evaluated.

Návratové hodnoty

Nic se nevrací.

Příklady

Příklad 1. debug_zval_dump() example

<?php
$var1
= 'Hello World';
$var2 = '';

$var2 =& $var1;

debug_zval_dump($var1);
?>

Výše uvedený příklad vypíše:

string(11) "Hello World" refcount(1)

Viz také

var_dump()
debug_backtrace()
References Explained