All Projects → swoole → ext-serialize

swoole / ext-serialize

Licence: other
the fastest serialize function bound for php7

Programming Languages

c
50402 projects - #5 most used programming language
PHP
23972 projects - #3 most used programming language
python
139335 projects - #7 most used programming language
M4
1887 projects

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].