3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = str_pad(intval(strval("0219")), 4, 0, STR_PAD_LEFT); $test2 = str_pad(intval(date('my')), 4, 0, STR_PAD_LEFT); $test3 = intval(strval("0219")); $test4 = intval(date('my')); $time1 = mktime(1, 1, 1, intval("02"), 1, intval("19")); $time2 = time(); echo $time1; echo "<br/>"; echo $time2; if($test < $test2){ echo "KO"; } else{ echo "OK"; } ?>
based on vbXA6
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
1548979261<br/>1499439210KO
Output for hhvm-3.15.4
1548979261<br/>1499439211KO