3v4l.org

run code in 300+ PHP versions simultaneously
<?php $squirt_path22 = array(123423, 'data', 'test'); //$firs_val = array_shift($squirt_path22); //echo '---shifted--<br>'; //print_r($squirt_path22); echo '<br>---reversed--<br>'; array_reverse($squirt_path22, true); print_r($squirt_path22);

preferences:
45.68 ms | 402 KiB | 5 Q