summaryrefslogtreecommitdiffstats
path: root/php-upstream.patch
blob: 16f00e64235007a0c44d9913fdd31905c033aab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From fb935fdaca0b1b65248c69315b1c21bd6857988c Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@php.net>
Date: Thu, 19 Jan 2017 07:37:28 +0100
Subject: [PATCH] fix test for 32bits (int -> float)

---
 ext/standard/tests/serialize/bug72731.phpt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ext/standard/tests/serialize/bug72731.phpt b/ext/standard/tests/serialize/bug72731.phpt
index 3d7d1e7..020fb32 100644
--- a/ext/standard/tests/serialize/bug72731.phpt
+++ b/ext/standard/tests/serialize/bug72731.phpt
@@ -14,5 +14,5 @@ $poc = 'O:8:"stdClass":1:{i:0;O:3:"obj":1:{s:4:"ryat";R:1;}}';
 var_dump(unserialize($poc));
 
 ?>
---EXPECT--
-int(73588229205)
+--EXPECTF--
+%s(73588229205)
-- 
2.9.3