From: remi Operating system: GNU/Linux (Fedora 16) PHP version: 5.4.0 Package: hash related Bug Type: Bug Bug description:tiger is broken
Description: ------------ mhash_001 and mash_003 fails. For mhash 001 025+ MHASH_TIGER: string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" 026+ MHASH_TIGER: string(48) "953ac3799a01b9fdeb91aeab97207e67395cbb54300be00d" Some tests ==== PHP 5.1.6 php -r 'var_dump(bin2hex(mhash(MHASH_TIGER,"This is the test of the mhash extension...")));' string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" php -r 'var_dump(bin2hex(mhash(MHASH_TIGER,"This is the test of the mhash extension...")));' string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" ==== PHP 5.3.10 php -r 'var_dump(bin2hex(mhash(MHASH_TIGER,"This is the test of the mhash extension...")));' string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" php -r 'var_dump(bin2hex(hash("tiger192,3","This is the test of the mhash extension...",true)));' string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" ==== PHP 5.4.0 php -r 'var_dump(bin2hex(mhash(MHASH_TIGER,"This is the test of the mhash extension...")));' string(48) "953ac3799a01b9fdeb91aeab97207e67395cbb54300be00d" php -r 'var_dump(bin2hex(hash("tiger192,3","This is the test of the mhash extension...",true)));' string(48) "953ac3799a01b9fdeb91aeab97207e67395cbb54300be00d" === PHP 5.4.0 with patch php -r 'var_dump(bin2hex(mhash(MHASH_TIGER,"This is the test of the mhash extension...")));' string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" php -r 'var_dump(bin2hex(hash("tiger192,3","This is the test of the mhash extension...",true)));' string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" -- Edit bug report at https://bugs.php.net/bug.php?id=61291&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61291&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61291&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61291&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61291&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61291&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61291&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61291&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61291&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61291&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61291&r=support Expected behavior: https://bugs.php.net/fix.php?id=61291&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61291&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61291&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61291&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61291&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61291&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61291&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61291&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61291&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61291&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61291&r=mysqlcfg