The new PECL package ahocorasick-0.0.5 (beta) has been released at https://pecl.php.net/.
Release notes ------------- Memory handling fixes in the match result fixes. Minor test and code fixes. PHP 7.3, 7.4 support added. Package Info ------------- PHP extension implementing Aho-Corasick pattern matching algorithm (more on wiki). Is especially effective if there is a large database of needles (=strings to be searched, for example virus signatures). Another advantage is that built search structure is initialized before search in separate call thus it can be called more times with different haystack, saving time. Computing Aho-Corasick in th native code (PHP extension) rather than in a pure PHP manner gives this implementation significant performance boost. Related Links ------------- Package home: https://pecl.php.net/package/ahocorasick Changelog: https://pecl.php.net/package-changelog.php?package=ahocorasick Download: https://pecl.php.net/get/ahocorasick-0.0.5.tgz Authors ------------- Dusan Klinec (lead) -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php