3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date= date('md'); $cyfra = substr($date, 0,1); if($cyfra == 0) $date = substr($date, 1,4); if (321 <= $date) echo "prawda"; if((321 <= $date) && ($date < 622)) $style = "wiosna"; elseif($date >= 622 && $date < 923) $style = "lato"; elseif($date >= 923 && $date < 1222) $style = "jesien"; elseif(($date < 321) || ($date >= 1222)) $style = "zima"; echo $style;
Output for git.master, git.master_jit, rfc.property-hooks
zima

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:
27.85 ms | 405 KiB | 5 Q