{ "name": "php85-igbinary", "version": "3.2.17RC1", "summary": "igbinary for PHP 8.5: a compact binary serializer (PECL; redis and memcached use it)", "category": "library", "license": "BSD-3-Clause", "homepage": "https://pecl.php.net/package/igbinary", "source": { "url": "https://pecl.php.net/get/igbinary-3.2.17RC1.tgz", "sha256": "91da821443db125282a6aea039f24588dd28ff5d71e8187f6ecc41165bceafbc" }, "watch": {"kind": "index", "url": "https://pecl.php.net/rest/r/igbinary/allreleases.xml", "regex": "([0-9][0-9a-zA-Z.]*)"}, "deps": [ "php85" ], "env_packages": [], "static": false, "nss": false, "check": "[ -n \"$(ls -A share/doc/php85-igbinary 2> /dev/null)\" ] && bin/php8.5 -d extension=igbinary -r 'class B { public $a = [1, \"x\"]; protected $p = 2.5; } $d = [\"n\" => null, \"s\" => str_repeat(\"bvs\", 10), \"o\" => new B(), \"t\" => true]; $s = igbinary_serialize($d); exit(phpversion(\"igbinary\") === \"3.2.17RC1\" && substr($s, 0, 4) === \"\\x00\\x00\\x00\\x02\" && igbinary_unserialize($s) == $d && strlen($s) < strlen(serialize($d)) ? 0 : 1);' && echo \"igbinary 3.2.17RC1 for PHP 8.5: an array with an object serialized (format 2 header, smaller than serialize()) and read back equal\"" }