3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 2; $y = 3; list($y, $x) = array($x, $y); var_dump($x); var_dump($y);
Output for 4.3.0 - 7.1.10
int(3) int(2)