Fix for bug66501 - "key type not supported in this PHP build"