3v4l.org

run code in 200+ PHP versions simultaneously
<?php list($a, $b) = NULL; var_dump($a, $b); list($c, $d) = array(); var_dump($c, $d); list($e, $f) = array('a'); var_dump($e, $f);