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);
Output for git.master, git.master_jit, rfc.property-hooks
---shifted--<br>Array ( [0] => 123423 [1] => data [2] => test ) <br>---reversed--<br>Array ( [0] => 123423 [1] => data [2] => test )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
50.98 ms | 401 KiB | 8 Q