Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
  ext/curl/interface: fix zend_result return value
  Zend/zend_ini: fix zend_result return values
This commit is contained in:
George Peter Banyard 2023-02-21 13:53:48 +00:00
commit f6ec807871
No known key found for this signature in database
GPG key ID: 3306078E3194AEBD
2 changed files with 3 additions and 3 deletions

View file

@ -1378,7 +1378,7 @@ static inline zend_result build_mime_structure_from_hash(php_curl *ch, zval *zpo
postval = Z_STR_P(prop);
if (php_check_open_basedir(ZSTR_VAL(postval))) {
return 1;
return FAILURE;
}
prop = zend_read_property(curl_CURLFile_class, Z_OBJ_P(current), "mime", sizeof("mime")-1, 0, &rv);