3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i <= 12; $i++) { $months[] = date("m/Y", strtotime( date( 'Y-m-01' )." -$i months")); } print_r($months);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 07/2017 [1] => 06/2017 [2] => 05/2017 [3] => 04/2017 [4] => 03/2017 [5] => 02/2017 [6] => 01/2017 [7] => 12/2016 [8] => 11/2016 [9] => 10/2016 [10] => 09/2016 [11] => 08/2016 [12] => 07/2016 )

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