Skip to content

MicroEngine/ext-serialize

 
 

Repository files navigation

swoole_serialize

require

  • PHP 7+

install

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

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

contact us

License

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

About

the fastest serialize function bound for php7

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 58.0%
  • PHP 38.3%
  • Python 2.8%
  • M4 0.9%