3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array("0" => "test", "1"=>"test1"); $test1 = array_pop($test); echo $test1; print_r($test);

preferences:
44.89 ms | 402 KiB | 5 Q