|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-04-01 19:37 UTC] tpunt@php.net
-Status: Open
+Status: Wont fix
[2017-04-01 19:37 UTC] tpunt@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 15:00:01 2025 UTC |
Description: ------------ For every bloomfilter i create with this extensions, the method has() always returns true when passed an empty string. btw, thanks for your time doing it, it's really useful. Reproduce code: --------------- $bf = new BloomFilter(3, 0.0001); $bf->add("foo"); $bf->add("bar"); $bf->add("xyz"); var_dump($bf->has("foo")); var_dump($bf->has("blabla")); var_dump($bf->has("")); Expected result: ---------------- true false false Actual result: -------------- true false true