php-doc-en/reference/var
Yoshinari Takaoka f09e04a352 We can use debug_zval_dump function in PHP 8, too.
$ php --version
PHP 8.0.3 (cli) (built: Mar  3 2021 02:12:40) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.3, Copyright (c) Zend Technologies
    with Zend OPcache v8.0.3, Copyright (c), by Zend Technologies
    with Xdebug v3.0.2, Copyright (c) 2002-2021, by Derick Rethans
$ php -r "\$var=[1,2,3,4]; debug_zval_dump(\$var);"
array(4) refcount(4){
  [0]=>
  int(1)
  [1]=>
  int(2)
  [2]=>
  int(3)
  [3]=>
  int(4)
}
2021-03-05 01:02:18 +09:00
..
functions Rewrite debug_zval_dump manual based on current (>=7.0) behaviour 2021-03-03 15:34:17 +01:00
book.xml Delete redundant <!-- Membership: --> 2013-05-23 17:38:21 +00:00
constants.xml
ini.xml Remove PHP 4 and 5.0.0 mentions. 2019-06-08 15:52:28 +00:00
reference.xml
setup.xml
versions.xml We can use debug_zval_dump function in PHP 8, too. 2021-03-05 01:02:18 +09:00