3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); list($a[], $a[], $a[]) = array(1, 2, 3); var_dump($a); ?>

preferences:
54.75 ms | 402 KiB | 5 Q