PHP-5.3 zend_hash API compatibility fix