debug_zval_dump

PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
debug_zval_dump - Dumps a string representation of an internal zval structure to output
Manual
Code Examples

Example #1 debug_zval_dump example

Result: string(11) "Hello World" refcount(3)
PHP Version:

Example #2

Result: string(11) "Hello World" refcount(2)
PHP Version: