3v4l.org

run code in 300+ PHP versions simultaneously
<?php $basePremium='Refer'; // update the end time of the discount period below when going live if (mktime() < 1453726799000 ) { // discount by 8.5% for the 2 months after going live, 1453726799000 = 25/01/2016 23:59:59 AEST $basePremium=round($basePremium * 0.915); echo $basePremium + "<br><br>"; echo $basePremium * 0.915 + "<br><br>"; } if ($basePremium == 'Refer') { echo "wtf"; } else { echo "..."; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: mktime() expects at least 1 argument, 0 given in /in/6pRtI:4 Stack trace: #0 /in/6pRtI(4): mktime() #1 {main} thrown in /in/6pRtI on line 4
Process exited with code 255.

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:
47.3 ms | 401 KiB | 8 Q