1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 10:43:30 +02:00
Files
archived-php-src/ext/curl/tests/callable_nullable_option.phpt
Ilija Tovilo d2a9edfee6 Callable curl options should be nullable
symfony/http-client/Response/CurlResponse.php depends on this behavior.

Closes GH-14165
2024-05-07 16:34:49 +02:00

17 lines
198 B
PHP

--TEST--
Callable options are nullable
--EXTENSIONS--
curl
--FILE--
<?php
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_PROGRESSFUNCTION => null,
]);
?>
===DONE===
--EXPECT--
===DONE===