3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { $fiz = array_values(array(1,2,3)); return array_shift($fiz); } foo();

preferences:
68.46 ms | 402 KiB | 5 Q