msgpack-php icon indicating copy to clipboard operation
msgpack-php copied to clipboard

msgpack_unpack() returns success while there's 'Extra bytes' warning

Open zhangbiao2009 opened this issue 10 years ago • 0 comments

Hello, when I use msgpack_unpack() to unpack some data, it returns success and there's PHP Warning: [msgpack] (php_msgpack_unserialize) Extra bytes in a.php on line 4

Is there any way to capture this kind of error? since it returns success I can't differentiate it from normal success situation.

Thanks!

zhangbiao2009 avatar Nov 03 '15 02:11 zhangbiao2009