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>'; $reversedArray = array_reverse($squirt_path22, true); print_r($reversedArray);

preferences:
42.83 ms | 402 KiB | 5 Q