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

msgpack.org[PHP]

Results 30 msgpack-php issues
Sort by recently updated
recently updated
newest added

like said in title in msgpack-php we can unpack msgpack bin into php string but no way to pack string into msgpack bin how about add a option like msgpack-python's...

enhancement

It's useful in case you don't have the original argument list the `MessagePackUnpacker` was constructed with. Also, I think that the original buffer should be preserved in the cloned object....

Since PHP has no real array, unpacking both array and map into `array()` can cause loss of information. The patch adds `OPT_ASSOC = false` option to support roundtrip serialization of...

enhancement

If a ```Date``` object is created in Javascript (```new Date()```), and is serialized with MessagePack, then PHP will fail to deserialize with the following message: ```PHP Warning: [msgpack] (php_msgpack_unserialize) Parse...

interop

duplicate
regression

I am getting following error while installing msgpack. ``` pecl install msgpack WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update pecl/msgpack requires PHP (version >=...

documentation

I know about this issue: https://github.com/msgpack/msgpack-php/issues/18 But would it be wise to use [PHP's jsonSerialize()](http://php.net/JsonSerializable)? And have an option in unpack() to convert associative array's to stdClass like json_decode($data, bool...

Packing/unpacking bin data fails for me: ``` php var_dump(bin2hex(msgpack_pack("\x80"))); ``` Expected: `string(6) "c40180"` Actual: `string(4) "a180"` ``` php var_dump(bin2hex(msgpack_unpack("\xc4\x01\x80"))); ``` Expected: `string(2) "80"` Actual: `PHP Warning: [msgpack] (php_msgpack_unserialize) Parse error...

Hello, when use msgpack_pack() to pack an empty array, it is always treated as an array, but sometimes we want it to be treated as an empty map, just like...

enhancement

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...