Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/swoole/ext-serialize

the fastest serialize function bound for php7
https://github.com/swoole/ext-serialize

Last synced: about 2 months ago
JSON representation

the fastest serialize function bound for php7

Awesome Lists containing this project

README

        

## swoole_serialize

## require

- PHP 7+

## install

```bash
phpize
./configure
make
make install
echo "extension=/path/to/swoole_serialize.so" >> php.ini
```

## features

- the fastest serialize function for php7+ (see bench.php,or you can bench it use you data,trust me it is cool!).
- support __sleep __wakeup __autoload etc.

## use

```php
$str = swoole_serialize::pack($arr);
$arr = swoole_serialize::unpack($str);

```

## contact us
- http://weibo.com/u/2661945152

## License

Apache License Version 2.0 see http://www.apache.org/licenses/LICENSE-2.0.html