mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
The test for bug #46739 doesn't actually need the remote
responder, so get rid of the skipif in PHP 5, and it was broken in PHP 6 because the keys in the curl_info array were not unicode. All internally-generated arrays should have unicode keys.
This commit is contained in:
parent
66908185b7
commit
a37d7529ba
@ -5,9 +5,6 @@ Bug #46739 (array returned by curl_getinfo should contain content_type key)
|
|||||||
if (!extension_loaded("curl")) {
|
if (!extension_loaded("curl")) {
|
||||||
exit("skip curl extension not loaded");
|
exit("skip curl extension not loaded");
|
||||||
}
|
}
|
||||||
if (false === getenv('PHP_CURL_HTTP_REMOTE_SERVER')) {
|
|
||||||
exit("skip PHP_CURL_HTTP_REMOTE_SERVER env variable is not defined");
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
Loading…
Reference in New Issue
Block a user