3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = 1235; $bar = 456; list($foo, $bar) = [$bar, $foo]; var_dump($foo, $bar);
based on tX6Z3
Output for 5.6.0 - 7.2.6
int(456) int(1235)