3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php /* Labels */ $monthlabel = date(now); $monthlabel1 = mktime(0, 0, 0, date("m")+1, date("d"), date("Y")); $monthlabel2 = mktime(0, 0, 0, date("m")+2, date("d"), date("Y")); $monthlabel3 = mktime(0, 0, 0, date("m")+3, date("d"), date("Y")); $monthlabel4 = mktime(0, 0, 0, date("m")+4, date("d"), date("Y")); $monthlabel5 = mktime(0, 0, 0, date("m")+5, date("d"), date("Y")); $monthlabel6 = mktime(0, 0, 0, date("m")+6, date("d"), date("Y")); $monthlabel7 = mktime(0, 0, 0, date("m")+7, date("d"), date("Y")); $monthlabel8 = mktime(0, 0, 0, date("m")+8, date("d"), date("Y")); $monthlabel9 = mktime(0, 0, 0, date("m")+9, date("d"), date("Y")); $monthlabel10 = mktime(0, 0, 0, date("m")+10, date("d"), date("Y")); $monthlabel11 = mktime(0, 0, 0, date("m")+11, date("d"), date("Y")); $monthlabel12 = mktime(0, 0, 0, date("m")+12, date("d"), date("Y")); $monthlabel13 = mktime(0, 0, 0, date("m")+13, date("d"), date("Y")); $monthlabel14 = mktime(0, 0, 0, date("m")+14, date("d"), date("Y")); $monthlabel15 = mktime(0, 0, 0, date("m")+15, date("d"), date("Y")); $monthlabel16 = mktime(0, 0, 0, date("m")+16, date("d"), date("Y")); $monthlabel17 = mktime(0, 0, 0, date("m")+17, date("d"), date("Y")); echo $monthlabel;
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant now - assumed 'now' in /in/hIHEe on line 4 1120133
Output for 4.3.0 - 5.0.5
Notice: Use of undefined constant now - assumed 'now' in /in/hIHEe on line 4 11o3