Easy Tutorial
❮ Func Simplexml Attributes Func Date Date Sub ❯

PHP debug_zval_dump() Function

Available PHP Functions

The debugzvaldump function is used to view a variable's reference count and type information in the Zend engine.

Version Requirements: PHP 4 >= 4.2.0, PHP 5, PHP 7

Syntax

void debug_zval_dump ( mixed $variable [, mixed $... ] )

Parameter Description:

Return Value

No return value.

Example

<?php
$a = 'tutorialpro';
debug_zval_dump($a);

// Multiple parameters
$b = 'google';
debug_zval_dump($a, $b);
?>

Execution result is as follows:

string(6) "tutorialpro" refcount(1)
string(6) "tutorialpro" refcount(1)
string(6) "google" refcount(1)

Available PHP Functions

❮ Func Simplexml Attributes Func Date Date Sub ❯