Doc #66366 [NEW]: Undocumented breaking change, when upgrading from php 5.3
From: markuwil at gmail dot com
Operating system:
PHP version: Irrelevant
Package: *Encryption and hash functions
Bug Type: Documentation Problem
Bug description:Undocumented breaking change, when upgrading from php 5.3
Description:
------------
---
From manual page: http://www.php.net/migration54.incompatible
---
Re: https://bugs.php.net/bug.php?id=61291 and
fix regarding Tiger
hashes.
This was never documented as a breaking change, when upgrading from 5.3.
Also the only changelog entry related to it cites big endian when the
Tiger paper explicitly states little endian. I have no insight into
whether the changelog entry is correct or not but a Tiger hash is little
endian whereas php used to output it in big endian.
To actually get to the root of all of this, one has to, in the worst
case, find five years old reports and then find that they have suddenly
been fixed (after first being marked as 'Not a bug', which implies
in-action) without so much as a note in documentation for hash nor mhash
(both of which have suffered from this at one time or another).
Obviously this is breaking change by proxy for anyone who does not know
the Tiger specification (and even appears a bug to anyone who reads
Wikipedia, but that is irrelevant to php) or has relied on the old
behavior as correct, to generate, store or compare against hashes such
hashes.
--
Edit bug report at https://bugs.php.net/bug.php?id=66366&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66366&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66366&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66366&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66366&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66366&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66366&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66366&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66366&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66366&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66366&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66366&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66366&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66366&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66366&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66366&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66366&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66366&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66366&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66366&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66366&r=mysqlcfg
Thread (3 messages)
- markuwil at gmail dot com