3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $now = mktime(0, 0, 0, date("m")+1, date("d"), date("Y")); /* Labels */ $monthlabel = date('Y&month=n', $now); /* Values */ $monthvalue = date("Y&month=n",$monthlabel); echo $monthlabel;
Output for 5.6.28, 7.0.14 - 7.1.0
Notice: A non well formed numeric value encountered in /in/WeWpA on line 10 2014&03201433112=3
Output for 5.1.0 - 5.6.23, 7.0.0 - 7.0.8
Notice: A non well formed numeric value encountered in /in/WeWpA on line 10 2013&122013123112=12
Output for hhvm-3.10.0 - 3.12.0
2013&122013123112=12
Output for 4.3.0 - 5.0.5
2013&12o123112=12