php-trie-ext
php-trie-ext copied to clipboard
Trie data structures for PHP
Since 7.4 HAVE_SPL have been removed This allow to build with PHP 8.5.0alpha2 where `zend_exception_get_default` was removed
If we'd like to specify the path to the HAT trie C++ library when installing php_trie via PECL is over-complex: we need to download the package, extract it and call...
README.md claims that the HAT Trie library is optional, but config.m4 fails without it, and while config.w32 does not fail, the build won't succeed because the code relying on hat-trie...
`$trie = new Trie; $rtrie = new Trie; $wordCount = 0; foreach ( $wordData as $word ) { if ( $word > '' ) { $trie->insert( $word ); $rtrie->insert( strrev(...