Skip to content

Commit 91964c1

Browse files
bug #60648 [Yaml] fix support for years outside of the 32b range on x86 arch on PHP 8.4 (nicolas-grekas)
This PR was merged into the 6.4 branch. Discussion ---------- [Yaml] fix support for years outside of the 32b range on x86 arch on PHP 8.4 | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT Similar to #41394 but for PHP 8.4 Commits ------- c2f9a7c [Yaml] fix support for years outside of the 32b range on x86 arch on PHP 8.4
2 parents 76060fa + c2f9a7c commit 91964c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Yaml/Inline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ private static function evaluateScalar(string $scalar, int $flags, array &$refer
737737
if (false !== $scalar = $time->getTimestamp()) {
738738
return $scalar;
739739
}
740-
} catch (\ValueError) {
740+
} catch (\DateRangeError|\ValueError) {
741741
// no-op
742742
}
743743

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy