Add extension msgpack support (#543)

This commit is contained in:
Jerry Ma
2024-09-17 22:34:57 +08:00
committed by GitHub
parent ad098d085e
commit 2beecee219
4 changed files with 28 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
<?php
declare(strict_types=1);
assert(function_exists('msgpack_pack'));
assert(function_exists('msgpack_unpack'));
assert(msgpack_unpack(msgpack_pack(['foo', 'bar'])) === ['foo', 'bar']);