3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php list($a, list($a, $a)) = array(1, array(2, 3)); var_dump($a);
Output for 7.0.0 - 7.3.0rc4
int(3)
Output for 4.3.0 - 5.6.28
int(1)