We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
//##test case # $array = array('1' => '111111', '2' => '22222');
var_dump(msgpack_pack($array));
var_dump(msgpack_unpack('?\001?\000???\002?\000\003d\016"'));
string(16) "?\001?111111\002?22222"
PHP Warning: msgpack Extra bytes in /WorkSpace/nala/erp/test.php on line 58 PHP Stack trace: PHP 1. {main}() /WorkSpace/nala/erp/test.php:0 PHP 2. msgpack_unpack() /WorkSpace/nala/erp/test.php:58
Warning: msgpack Extra bytes in /WorkSpace/nala/erp/test.php on line 58
Call Stack: 0.0003 234248 1. {main}() /WorkSpace/nala/erp/test.php:0 0.0331 983072 2. msgpack_unpack() /WorkSpace/nala/erp/test.php:58
The text was updated successfully, but these errors were encountered:
No branches or pull requests
guide :
1,1=>2,2=>3); $msg = msgpack_pack($data); $data = msgpack_unpack($msg); ?>//##test case #
$array = array('1' => '111111', '2' => '22222');
case 1:
var_dump(msgpack_pack($array));
case 2:
var_dump(msgpack_unpack('?\001?\000???\002?\000\003d\016"'));
case 1 output:
string(16) "?\001?111111\002?22222"
case 2 output:
PHP Warning: msgpack Extra bytes in /WorkSpace/nala/erp/test.php on line 58
PHP Stack trace:
PHP 1. {main}() /WorkSpace/nala/erp/test.php:0
PHP 2. msgpack_unpack() /WorkSpace/nala/erp/test.php:58
Warning: msgpack Extra bytes in /WorkSpace/nala/erp/test.php on line 58
Call Stack:
0.0003 234248 1. {main}() /WorkSpace/nala/erp/test.php:0
0.0331 983072 2. msgpack_unpack() /WorkSpace/nala/erp/test.php:58
The text was updated successfully, but these errors were encountered: