]> granicus.if.org Git - php/commitdiff
The test for bug #46739 doesn't actually need the remote
authorRasmus Lerdorf <rasmus@php.net>
Sun, 26 Jul 2009 02:12:38 +0000 (02:12 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sun, 26 Jul 2009 02:12:38 +0000 (02:12 +0000)
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.

ext/curl/tests/bug46739.phpt

index 52bfbc8ff39a71e9a1f1fdea16feb62522edcb53..895bba7556c84c6aaac8b8aa78859cb9ed434400 100644 (file)
@@ -5,9 +5,6 @@ Bug #46739 (array returned by curl_getinfo should contain content_type key)
 if (!extension_loaded("curl")) {
        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--
 <?php