[horde] php changes: random hash in generateUID missing

munzli munzli at olmero.ch
Wed Aug 29 17:47:57 UTC 2007


Starting from version 5.2.3 if $start is negative and larger then the 
length of the string, the result is an empty string, while in earlier 
versions the result was the string itself!

substr ("abcdef", -1000);

result in 5.2.0

result in 5.2.3

This is a small inconsistency, one of those things that makes the life 
of a PHP programmer like hell.

manuel knobel

More information about the horde mailing list