English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
debug_zval_dump The function is used to view the reference count and type information of a variable in the zend engine.
Version Requirement: PHP 4 >= 4.2.0, PHP 5, PHP 7
void debug_zval_dump ( mixed $variable [, mixed $... ] )
Parameter Description:
$variable: The variable to be viewed.
No Return Value
<?php $a = 'w3codebox'; debug_zval_dump($a); // Multiple Parameters $b = 'google'; debug_zval_dump($a, $b); ?>
The execution result is as follows:
string(6) "w3codebox" refcount(1) string(6) "w3codebox" refcount(1) string(6) "google" refcount(1)