com php-src: fix test for 32bits (int -> float): ext/standard/tests/serialize/bug72731.phpt

[email protected] (Anatol Belski)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    35f6a5c4815341b0fc18375c9daf41fe8a63d256
Author:    Remi Collet <[email protected]>         Wed, 1 Feb 2017 10:25:30 +0100
Committer: Anatol Belski <[email protected]>      Wed, 1 Feb 2017 12:02:20 +0100
Parents:   a85d8242b21b253ea5c794fd4b5e79017004151b
Branches:  PHP-7.0.16

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=35f6a5c4815341b0fc18375c9daf41fe8a63d256

Log:
fix test for 32bits (int -> float)

(cherry picked from commit 0f1ae93bfa2feb3d0fd0b8d3036148df8ef856e2)

Changed paths:
  M  ext/standard/tests/serialize/bug72731.phpt


Diff:
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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.