MessagePack 序列化通信 API Msgpack-php

码农软件 · 软件分类 · 其他开发相关 · 2019-10-17 22:11:24

软件介绍

Msgpack 是一个 PECL 扩展,此扩展提供用于与 MessagePack 序列化通信的 API。

MessagePack 是一个基于二进制高效的对象序列化类库,可用于跨语言通信。它可以像JSON那样,在许多种语言之间交换结构对象;但是它比JSON更快速也更轻巧。

安装

从 PECL 安装

pecl install msgpack

从源代码编译 Msgpack

$/path/to/phpize
$./configure 
$make && make install

举例:

<?php
$data = array(0=>1,1=>2,2=>3);
$msg = msgpack_pack($data);
$data = msgpack_unpack($msg);
?>

本文地址:https://www.codercto.com/soft/d/16989.html

Developer's Guide to Social Programming

Developer's Guide to Social Programming

Mark D. Hawker / Addison-Wesley Professional / 2010-8-25 / USD 39.99

In The Developer's Guide to Social Programming, Mark Hawker shows developers how to build applications that integrate with the major social networking sites. Unlike competitive books that focus on a s......一起来看看 《Developer's Guide to Social Programming》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具