php-src/ext/standard/tests/serialize/bug31442.phpt

11 lines
161 B
Plaintext
Raw Normal View History

2005-01-08 13:47:05 +00:00
--TEST--
Bug #31442 (unserialize broken on 64-bit systems)
--INI--
precision=14
2005-01-08 13:47:05 +00:00
--FILE--
<?php
echo unserialize(serialize(2147483648));
?>
--EXPECT--
2147483648