summaryrefslogtreecommitdiffstats
path: root/95.patch
blob: fbb37e4cff7801381d3fc3b38a0a52aa0b43c114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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";