Skip to content

Commit 6a3e880

Browse files
committed
Test PHP_FLOAT_MIN only on PHP >= 8.4
1 parent ae475bd commit 6a3e880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Type/StringifyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public static function provideCases(): iterable
7373
yield [floatT(1.23000e-2), '0.0123'];
7474
yield [floatT(PHP_FLOAT_EPSILON), '0.00000000000000022204460492503'];
7575

76-
if (PHP_VERSION_ID >= 80300) {
76+
if (\PHP_VERSION_ID >= 80400) {
7777
yield [floatT(PHP_FLOAT_MIN), '0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000022250738585000'];
7878
}
7979

0 commit comments

Comments
 (0)