msgpack-php
msgpack-php copied to clipboard
msgpack.org[PHP]
We're attempting to include MsgPack as one possible serializer for our suite but we found the problem that when it is not possible to unpack data, msgpack_unpack triggers an error....
warning message show when run tests/040*.phpt with valgrind. but it's not critical, only comes up in wrong usage, so I leave it here. $ cat tests/040.mem ==13658== Invalid read of...
It's pretty impressive that msgpack serializez and unserializez classes. Seeing same behaviour for enums would be great.
Add support for enum classes. They are serialized with a new serialize type `MSGPACK_SERIALIZE_TYPE_ENUM` (dynamic id 6) and stored by using the enum class name as key and the enum...
I am pleased to announce that this extension is now compiled for Windows by the PHP Extension Repository site. You can download the DLLs on the extension page: https://phpext.phptools.online/extension/tools-and-utilities/msgpack-300 If...
Hi :wave:, I came across a possible memory leak in msgpack I can reproduce the leak in php `8.2` and `8.3` and in msgpack `2.2.0`, `3.0.0`, and `master`. ```php
This merge allows users to force floats to be encoded as 32-bit floats (float 32) rather than the default 64-bit doubles. This would primarily be useful for reducing the storage...
Hi again :wave:, I found a flaw in msgpack on a specific input string. Very easy to reproducer: ```php
Hi. Tried building against php master branch and this issue jumped out. php [UPGRADING.INTERNALS](https://github.com/php/php-src/blob/f35a497b9db9daca292999838044d82c437602c9/UPGRADING.INTERNALS#L35) says: "The zval_dtor() alias of zval_ptr_dtor_nogc() has been removed. Call zval_ptr_dtor_nogc() directly instead.". So as this...