3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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); ?> <html> <table><tr><td>helo</td></tr></table> </html>
based on NEQek
Output for 4.3.0 - 7.2.0
---shifted--<br>Array ( [0] => 123423 [1] => data [2] => test ) <br>---reversed--<br>Array ( [2] => test [1] => data [0] => 123423 ) <html> <table><tr><td>helo</td></tr></table> </html>