mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 00:35:41 +08:00
Add extension msgpack support (#543)
This commit is contained in:
7
src/globals/ext-tests/msgpack.php
Normal file
7
src/globals/ext-tests/msgpack.php
Normal 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']);
|
||||
Reference in New Issue
Block a user