3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [1]; debug_zval_dump($a);
Output for 7.1.0 - 7.3.0alpha1
array(1) refcount(3){ [0]=> int(1) }
Output for hhvm-3.18.5 - 3.22.0
array(1) refcount(1){ [0]=> long(1) refcount(1) }
Output for 5.6.0 - 5.6.30
array(1) refcount(2){ [0]=> long(1) refcount(1) }