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:    0e21d8066b940e1228fa840a1539ca3434dc3a3f
Author:    Remi Collet <[email protected]>         Wed, 1 Feb 2017 10:25:30 +0100
Committer: Anatol Belski <[email protected]>      Wed, 1 Feb 2017 11:49:52 +0100
Parents:   cf649f59cb0e44431a2237879c7219243e5ad426
Branches:  PHP-5.6 PHP-7.0 PHP-7.1 master

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

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.