Edit report at http://bugs.php.net/bug.php?id=53455&edit=1

 ID:                 53455
 Updated by:         [email protected]
 Reported by:        islam dot sharabash at gmail dot com
 Summary:            ssdee-_fuzzy_compare only returns 0
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            *General Issues
 Operating System:   Centos 5
 PHP Version:        5.2.14
 Block user comment: N
 Private report:     N

 New Comment:

please report bugs for PECL extensions on http://pecl.php.net, sorry if
this is confusing.


Previous Comments:
------------------------------------------------------------------------
[2010-12-02 21:49:55] islam dot sharabash at gmail dot com

Description:
------------
---

>From manual page:
http://www.php.net/function.ssdeep-fuzzy-compare#Return Values

---



Test script:
---------------
<?php



$string = "blah";

echo "blah";

?><br><?

var_dump($wee = ssdeep_fuzzy_hash($string));

?><br><?

var_dump(ssdeep_fuzzy_compare($wee, $wee));



?>



Expected result:
----------------
blah

string(7) "3:2n:2n"

int(100)



Match of 100 is expected

Actual result:
--------------
blah

string(7) "3:2n:2n"

int(0) 



Match of 0 returned, no matter the input


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53455&edit=1

Reply via email to