summaryrefslogtreecommitdiffstats
path: root/95.patch
diff options
context:
space:
mode:
Diffstat (limited to '95.patch')
-rw-r--r--95.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/95.patch b/95.patch
new file mode 100644
index 0000000..fbb37e4
--- /dev/null
+++ b/95.patch
@@ -0,0 +1,22 @@
+From e8069a1fcc62328410812acf9dccf656e7c7c5fd Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Sat, 27 Sep 2025 15:45:16 +0200
+Subject: [PATCH] avoid unexpected NAN value was coerced to string
+
+---
+ tests/bug_79866.phpt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/bug_79866.phpt b/tests/bug_79866.phpt
+index 2189b90..6dbc813 100644
+--- a/tests/bug_79866.phpt
++++ b/tests/bug_79866.phpt
+@@ -29,7 +29,7 @@ $floats = [
+ foreach( $floats as $idx => $float ) {
+ $float = floatval($float);
+ ob_start();
+- echo $float;
++ @print_r($float);
+ $native = ob_get_clean();
+
+ $expect = "--- {$native}\n...\n";