[horde] php changes: random hash in generateUID missing
munzli
munzli at olmero.ch
Wed Aug 29 17:47:57 UTC 2007
fyi:
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
'abcdef'
result in 5.2.3
''
This is a small inconsistency, one of those things that makes the life
of a PHP programmer like hell.
http://ch2.php.net/substr
cheers
manuel knobel
More information about the horde
mailing list