3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d =getdate(); for($i=1;$i<=12;$i++){ if($i==$d["mon"]){ var_dump($d); } }
Output for git.master, git.master_jit, rfc.property-hooks
array(11) { ["seconds"]=> int(27) ["minutes"]=> int(36) ["hours"]=> int(8) ["mday"]=> int(26) ["wday"]=> int(1) ["mon"]=> int(10) ["year"]=> int(2015) ["yday"]=> int(298) ["weekday"]=> string(6) "Monday" ["month"]=> string(7) "October" [0]=> int(1445844987) }

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