CommandHelper

CommandHelper

46.5k Downloads

md5() failure when used to set array key

LadyCailinBot opened this issue ยท 1 comments

commented

CMDHELPER-2709 - Reported by opoq

/mderp5 = >>>
@array = array()
@value = 'herp'
@md5 = md5(@value)
@array[md5(@value)] = 'derp'
msg(@md5)
msg(@array)
# -->
# 64bf96df38fd24fd7ce01ba9bb631539
# {d41d8cd98f00b204e9800998ecf8427e: derp} <-- hash of empty string
<<<

commented

Comment by LadyCailin

This will be fixed in the next build.