diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-09 11:05:26 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-14 17:40:35 +0200 |
commit | 517c9938afe32b7e9ffa27a2413137382ac9e29b (patch) | |
tree | 7cac0a9f3e0e07868a8d7a33f7607a710c2f22a6 /ext/curl/multi.c | |
parent | 124260c165b955b3b646c445b2e26fbc801139de (diff) | |
download | php-git-517c9938afe32b7e9ffa27a2413137382ac9e29b.tar.gz |
Promote warnings to exceptions in ext/curl
Closes GH-5963
Diffstat (limited to 'ext/curl/multi.c')
-rw-r--r-- | ext/curl/multi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/multi.c b/ext/curl/multi.c index e1fed9f2ee..55d7f8e4d5 100644 --- a/ext/curl/multi.c +++ b/ext/curl/multi.c @@ -477,7 +477,7 @@ static int _php_curl_multi_setopt(php_curlm *mh, zend_long option, zval *zvalue, break; #endif default: - php_error_docref(NULL, E_WARNING, "Invalid curl multi configuration option"); + zend_argument_value_error(2, "is not a valid cURL multi option"); error = CURLM_UNKNOWN_OPTION; break; } |