1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

5 Commits

Author SHA1 Message Date
Derick Rethans
92d18b2bec Fixed rounding error with new DateTime[Immutable]::createFromTimestamp method 2024-05-30 14:08:39 +01:00
Marc Bennewitz
9f586f6c69 Fixed int32 underflow on DateTime::createFromTimestamp (#12775)
* Fixed int32 underflow on DateTime::createFromTimestamp
2024-02-27 14:01:49 +00:00
Ilija Tovilo
1ade8ef7d3 [skip ci] Skip failing date test on 32-bit 2023-11-28 00:26:30 +01:00
Ilija Tovilo
f6efd126a5 Fix date createFromTimestamp test (#12766)
Unfortuantely, PHP_INT_MIN cannot be expressed as a literal in PHP, because -NUM
is parsed as (-)(NUM). NUM is restricted to PHP_INT_MAX.
2023-11-24 14:24:32 +01:00
Marc Bennewitz
88f2dc6268 Added DateTime[Immutable]::createFromTimestamp / date_create_[immutable]_from_timestamp 2023-11-22 15:24:13 +00:00