Closed
Description
Description
The following code:
<?php
$a = PHP_INT_MIN;
$b = PHP_FLOAT_MIN;
$c = date('Y-m-d H:i:s', gmmktime($a, $a, $a, $a, $a, $a));
echo $c;
?>
Resulted in this output:
/home/dan/php-8.3.9/ext/date/lib/tm2unixtime.c:39:6: runtime error: signed integer overflow: -9223372036854775808 - 153722867280912931 cannot be represented in type 'long long int'
PHP Version
8.3.9
Operating System
No response