3v4l.org

run code in 300+ PHP versions simultaneously
<?php $months = array('jan','feb', 'march', 'may', 'april'); // echo $months[3]; print_r ($months); array_push($months, 'july'); print_r($months); $months[]='december'; print_r($months); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => jan [1] => feb [2] => march [3] => may [4] => april ) Array ( [0] => jan [1] => feb [2] => march [3] => may [4] => april [5] => july ) Array ( [0] => jan [1] => feb [2] => march [3] => may [4] => april [5] => july [6] => december )

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:
81.79 ms | 402 KiB | 8 Q