Furthermore, it was broken on Apache2 because the actual function doesn't put the resulting array's key in lowercase.