diff options
-rw-r--r-- | ext/curl/curl_file.c | 2 | ||||
-rw-r--r-- | ext/exif/exif.c | 2 | ||||
-rw-r--r-- | ext/zip/php_zip.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/curl/curl_file.c b/ext/curl/curl_file.c index 0fcf41acec..7a047feb7f 100644 --- a/ext/curl/curl_file.c +++ b/ext/curl/curl_file.c @@ -35,7 +35,7 @@ static void curlfile_ctor(INTERNAL_FUNCTION_PARAMETERS) size_t fname_len, mime_len, postname_len; zval *cf = return_value; - if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ss", &fname, &fname_len, &mime, &mime_len, &postname, &postname_len) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|ss", &fname, &fname_len, &mime, &mime_len, &postname, &postname_len) == FAILURE) { return; } diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 06e2aae39c..4525fb3553 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -4204,7 +4204,7 @@ PHP_FUNCTION(exif_imagetype) php_stream * stream; int itype = 0; - if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &imagefile, &imagefile_len) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &imagefile, &imagefile_len) == FAILURE) { return; } diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index bfa473f002..bd6684c26f 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -2617,7 +2617,7 @@ static ZIPARCHIVE_METHOD(extractTo) RETURN_FALSE; } - if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|z", &pathto, &pathto_len, &zval_files) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|z", &pathto, &pathto_len, &zval_files) == FAILURE) { return; } |