3v4l.org

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

Abusive script

This script was stopped while abusing our resources


preferences:
65.52 ms | 404 KiB | 5 Q