PHP debug_zval_dump() Function
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
Syntax
void debug_zval_dump ( mixed $variable [, mixed $... ] )
Parameter Description:
- $variable: The variable to inspect.
Return Value
No value is returned.
Example
Example
The execution result is as follows:
string(6) "runoob" refcount(1)
string(6) "runoob" refcount(1)
string(6) "google" refcount(1)
Available PHP Functions