@ 2017-07-07T14:53:16Z <?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 = mktime();
echo $time1;
echo "<br/>";
echo $time2;
if($test < $test2){
echo "KO";
}
else{
echo "OK";
}
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.7 Fatal error: Uncaught ArgumentCountError: mktime() expects at least 1 argument, 0 given in /in/vbXA6:7
Stack trace:
#0 /in/vbXA6(7): mktime()
#1 {main}
thrown in /in/vbXA6 on line 7
Process exited with code 255 . Output for 7.0.0 - 7.0.20 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.31 , 7.4.0 - 7.4.25 , 7.4.27 - 7.4.33 Deprecated: mktime(): You should be using the time() function instead in /in/vbXA6 on line 7
1548979261<br/>1499439196KO Output for 7.3.32 - 7.3.33 , 7.4.26 1548982861<br/>1499439196KO preferences:dark mode live preview
176.7 ms | 402 KiB | 217 Q