You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/dan/php-src/ext/date/lib/tm2unixtime.c:458:4: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long long int'
But I expected this output instead:
PHP Version
PHP 8.4-dev
Operating System
No response
The text was updated successfully, but these errors were encountered:
@derickr, implementing proper overflow handling in timelib might be difficult, but it would likely be helpful if the public functions would implement some pre-condition checks (or at least state the pre-conditions) for the supported range of the arguments.
Description
The following code:
Resulted in this output:
But I expected this output instead:
PHP Version
PHP 8.4-dev
Operating System
No response
The text was updated successfully, but these errors were encountered: