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:    0f1ae93bfa2feb3d0fd0b8d3036148df8ef856e2
Author:    Remi Collet <[email protected]>         Wed, 1 Feb 2017 10:25:30 +0100
Parents:   b7f59be9f48d0079e222e26c01cd0a067480b97e
Branches:  master

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

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.