Package Details: php-msgpack 2.2.0-4

Git Clone URL: https://aur.archlinux.org/php-msgpack.git (read-only, click to copy)
Package Base: php-msgpack
Description: PHP extension for interfacing with MessagePack
Upstream URL: http://msgpack.org/
Keywords: msgpack php
Licenses: New BSD
Submitter: lvht
Maintainer: danogentili
Last Packager: danogentili
Votes: 1
Popularity: 0.000000
First Submitted: 2015-08-16 01:32 (UTC)
Last Updated: 2023-06-02 10:37 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Pinned Comments

danogentili commented on 2021-05-28 22:32 (UTC)

Adopted this package, now supporting php 8 with ext-msgpack 2.1.2.

Latest Comments

danogentili commented on 2021-05-28 22:32 (UTC)

Adopted this package, now supporting php 8 with ext-msgpack 2.1.2.

<deleted-account> commented on 2019-12-04 07:54 (UTC)

For PHP 7.4, I've had to change version to 2.0.3, with sha256sum set to 9dfa3c79d985334f82a88b7577f81d3ce4114211af064cffccf4d7b084a28842

Viterzgir commented on 2018-12-14 23:32 (UTC)

Hope it helps https://github.com/msgpack/msgpack-php/pull/124/files#diff-614905bdf3f697ee0f1bcd107be14b8eL302

bluedreamer commented on 2018-12-13 23:09 (UTC)

For some reason PHP 7.3 decided to add breaking API changes to a minor release!

I have no idea how to fix the first case as this option isn't available anymore

https://github.com/php/php-src/search?q=cb9d81ef4f07f82835273800b0cb3d6a67816050&type=Commits

php-msgpack/src/msgpack-2.0.2/msgpack_pack.c: In function ‘msgpack_serialize_array’: /home/acornish/code/php-msgpack/src/msgpack-2.0.2/msgpack_pack.c:283:47: warning: implicit declaration of function ‘ZEND_HASH_GET_APPLY_COUNT’; did you mean ‘ZEND_HASH_APPLY_KEEP’? [-Wimplicit-function-declaration] if ((Z_TYPE_P(value_noref) == IS_ARRAY && ZEND_HASH_GET_APPLY_COUNT(Z_ARRVAL_P(value_noref)) > 1)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ ZEND_HASH_APPLY_KEEP php-msgpack/src/msgpack-2.0.2/msgpack_pack.c:286:47: warning: implicit declaration of function ‘ZEND_HASH_APPLY_PROTECTION’; did you mean ‘ZEND_HASH_APPLY_REMOVE’? [-Wimplicit-function-declaration] if (Z_TYPE_P(value_noref) == IS_ARRAY && ZEND_HASH_APPLY_PROTECTION(Z_ARRVAL_P(value_noref))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ ZEND_HASH_APPLY_REMOVE php-msgpack/src/msgpack-2.0.2/msgpack_pack.c:287:7: warning: implicit declaration of function ‘ZEND_HASH_INC_APPLY_COUNT’; did you mean ‘ZEND_HASH_APPLY_KEEP’? [-Wimplicit-function-declaration] ZEND_HASH_INC_APPLY_COUNT(Z_ARRVAL_P(value_noref)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ZEND_HASH_APPLY_KEEP php-msgpack/src/msgpack-2.0.2/msgpack_pack.c:291:7: warning: implicit declaration of function ‘ZEND_HASH_DEC_APPLY_COUNT’; did you mean ‘ZEND_HASH_APPLY_KEEP’? [-Wimplicit-function-declaration] ZEND_HASH_DEC_APPLY_COUNT(Z_ARRVAL_P(value_noref)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ZEND_HASH_APPLY_KEEP

Then there is this fields doesn't exist anymore

https://github.com/php/php-src/commit/d9f5ea691fef7686061e081034bd52c9cc1db444

php-msgpack/src/msgpack-2.0.2/msgpack_convert.c:303:12: error: ‘zend_fcall_info_cache’ {aka ‘struct _zend_fcall_info_cache’} has no member named ‘initialized’ fcc.initialized = 1; ^ make: *** [Makefile:201: msgpack_convert.lo] Error 1 ==> ERROR: A failure occurred in build(). Aborting...