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

[email protected] (Remi Collet)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    aa9742d80d9a4ecfdabb482750ba297c3d89188d
Author:    Remi Collet <[email protected]>         Wed, 1 Feb 2017 10:25:30 +0100
Parents:   163bb87897c82eb7067e2a2e89818293a455e7a3
Branches:  PHP-7.0 PHP-7.1

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

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.