Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

debug_zval_dump

Description

The debug_zval_dump of Variable Handling for PHP dumps a string representation of an internal zend value to output.

Syntax

debug_zval_dump(mixed $value, mixed ...$values): void

Parameters

value

The value to dump.

values

More values to dump.

Return

No value is returned.

Examples

1

<?

$value = "Hello";

debug_zval_dump($value);

?>
string(5) "Hello" interned

2

<?

$value = "Hello";
$values = "World!";

debug_zval_dump($value, $values);

?>
string(5) "Hello" interned
string(6) "World!" interned

3

<?

$value = "Hello";
$values = $value;

debug_zval_dump($value, $values);

?>
string(5) "Hello" interned
string(5) "Hello" interned

4

<?

$value = "Hello";
$values = &$value;

debug_zval_dump($value, $values);

?>
string(5) "Hello" interned
string(5) "Hello" interned
HomeMenu