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

[email protected] (Joe Watkins)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    d699a81277219dce24e1022539e8b3db3f7e62c7
Author:    Remi Collet <[email protected]>         Wed, 1 Feb 2017 10:25:30 +0100
Committer: Joe Watkins <[email protected]>      Wed, 1 Feb 2017 11:19:39 +0000
Parents:   892f2e5120e3b1c82ba58087e941341cc989731b
Branches:  PHP-7.1.2

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

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

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.