We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0335247 commit 5c07e3dCopy full SHA for 5c07e3d
tests/issue067.phpt
@@ -8,9 +8,13 @@ if (!extension_loaded("msgpack")) {
8
?>
9
--FILE--
10
<?php
11
-echo msgpack_unpack("\xcf"."\xff\xff\xff\xff"."\xff\xff\xff\xff"), "\n";
+var_dump(msgpack_unpack("\xcf"."\x7f\xff\xff\xff"."\xff\xff\xff\xff"));
12
+var_dump(msgpack_unpack("\xcf"."\x80\x00\x00\x00"."\x00\x00\x00\x00"));
13
+var_dump(msgpack_unpack("\xcf"."\xff\xff\xff\xff"."\xff\xff\xff\xff"));
14
15
OK
16
--EXPECT--
-18446744073709551615
17
+int(9223372036854775807)
18
+string(19) "9223372036854775808"
19
+string(20) "18446744073709551615"
20
0 commit comments