From 3b17ba698c606aa7b7e30e07f4ef6f14c2ad0601 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 1 Feb 2017 12:30:31 +0100 Subject: PHP 7.0.16RC1 --- php-upstream.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 php-upstream.patch (limited to 'php-upstream.patch') diff --git a/php-upstream.patch b/php-upstream.patch new file mode 100644 index 0000000..2bd7f17 --- /dev/null +++ b/php-upstream.patch @@ -0,0 +1,21 @@ +From 0f1ae93bfa2feb3d0fd0b8d3036148df8ef856e2 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Wed, 1 Feb 2017 10:25:30 +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) -- cgit