3v4l.org

run code in 300+ PHP versions simultaneously
<?php $months = array_combine(range(1,12), array_map(function($i) { return date('M', mktime(1,0,0,$i,1,1970)); }, range(1,12))); var_dump($months);
Output for git.master, git.master_jit, rfc.property-hooks
array(12) { [1]=> string(3) "Jan" [2]=> string(3) "Feb" [3]=> string(3) "Mar" [4]=> string(3) "Apr" [5]=> string(3) "May" [6]=> string(3) "Jun" [7]=> string(3) "Jul" [8]=> string(3) "Aug" [9]=> string(3) "Sep" [10]=> string(3) "Oct" [11]=> string(3) "Nov" [12]=> string(3) "Dec" }

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