From: Rasmus Lerdorf Date: Sun, 26 Jul 2009 02:12:38 +0000 (+0000) Subject: The test for bug #46739 doesn't actually need the remote X-Git-Tag: php-5.2.11RC1~95 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=459b3bfa6a8a20a65c5152fc2b480e0542ce8bb8;p=php 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. --- diff --git a/ext/curl/tests/bug46739.phpt b/ext/curl/tests/bug46739.phpt index 52bfbc8ff3..895bba7556 100644 --- a/ext/curl/tests/bug46739.phpt +++ b/ext/curl/tests/bug46739.phpt @@ -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--