You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!zkeyaltnames||Z_TYPE_P(zkeyaltnames) !=IS_ARRAY) {
2971
+
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENTTSRMLS_CC, "Expected keyAltNames to be array, %s given", PHONGO_ZVAL_CLASS_OR_TYPE_NAME_P(zkeyaltnames));
phongo_throw_exception(PHONGO_ERROR_LOGICTSRMLS_CC, "Iterating over too many keyAltNames. Please file a bug report");
2989
+
failed= true;
2990
+
break;
2991
+
}
2992
+
2993
+
if (Z_TYPE_P(keyaltname) !=IS_STRING) {
2994
+
if (string_key) {
2995
+
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENTTSRMLS_CC, "Expected keyAltName with index \"%s\" to be string, %s given", ZSTR_VAL(string_key), PHONGO_ZVAL_CLASS_OR_TYPE_NAME_P(keyaltname));
2996
+
} else {
2997
+
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENTTSRMLS_CC, "Expected keyAltName with index \"%lu\" to be string, %s given", num_key, PHONGO_ZVAL_CLASS_OR_TYPE_NAME_P(keyaltname));
phongo_throw_exception(PHONGO_ERROR_LOGICTSRMLS_CC, "Iterating over too many keyAltNames. Please file a bug report");
3024
+
failed= true;
3025
+
break;
3026
+
}
3027
+
3028
+
if (Z_TYPE_PP(keyaltname) !=IS_STRING) {
3029
+
if (zend_hash_get_current_key_ex(ht_data, &string_key, &string_key_len, &num_key, 0, &pos) ==HASH_KEY_IS_STRING) {
3030
+
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENTTSRMLS_CC, "Expected keyAltName with index \"%s\" to be string, %s given", string_key, PHONGO_ZVAL_CLASS_OR_TYPE_NAME_P(*keyaltname));
3031
+
} else {
3032
+
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENTTSRMLS_CC, "Expected keyAltName with index \"%lu\" to be string, %s given", num_key, PHONGO_ZVAL_CLASS_OR_TYPE_NAME_P(*keyaltname));
0 commit comments