<?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";
}
?>
- Output for 5.6.0 - 5.6.28, 5.6.30 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.25, 7.3.0 - 7.3.12, 7.4.0
- 1548979261<br/>1499439210KO
- Output for 5.6.29
- 1548979261<br/>1499439211KO
preferences:
135.96 ms | 401 KiB | 154 Q