]> granicus.if.org Git - php/commitdiff
Fix 2 more curl tests in PHP 6
authorRasmus Lerdorf <rasmus@php.net>
Sun, 26 Jul 2009 02:25:17 +0000 (02:25 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sun, 26 Jul 2009 02:25:17 +0000 (02:25 +0000)
ext/curl/tests/curl_basic_016.phpt
ext/curl/tests/curl_setopt_basic001.phpt

index 5e386155978009080f46ccdc59af86c3d6d958c9..bfeae8eaab774a918b680038c043d131dd33a34e 100644 (file)
@@ -15,43 +15,43 @@ Jean-Marc Fontaine <jmf@durcommefaire.net>
 array(20) {
   [%u|b%"url"]=>
   string(0) ""
-  ["content_type"]=>
+  [u"content_type"]=>
   NULL
-  ["http_code"]=>
+  [u"http_code"]=>
   int(0)
-  ["header_size"]=>
+  [u"header_size"]=>
   int(0)
-  ["request_size"]=>
+  [u"request_size"]=>
   int(0)
-  ["filetime"]=>
+  [u"filetime"]=>
   int(0)
-  ["ssl_verify_result"]=>
+  [u"ssl_verify_result"]=>
   int(0)
-  ["redirect_count"]=>
+  [u"redirect_count"]=>
   int(0)
-  ["total_time"]=>
+  [u"total_time"]=>
   float(0)
-  ["namelookup_time"]=>
+  [u"namelookup_time"]=>
   float(0)
-  ["connect_time"]=>
+  [u"connect_time"]=>
   float(0)
-  ["pretransfer_time"]=>
+  [u"pretransfer_time"]=>
   float(0)
-  ["size_upload"]=>
+  [u"size_upload"]=>
   float(0)
-  ["size_download"]=>
+  [u"size_download"]=>
   float(0)
-  ["speed_download"]=>
+  [u"speed_download"]=>
   float(0)
-  ["speed_upload"]=>
+  [u"speed_upload"]=>
   float(0)
-  ["download_content_length"]=>
+  [u"download_content_length"]=>
   float(0)
-  ["upload_content_length"]=>
+  [u"upload_content_length"]=>
   float(%f)
-  ["starttransfer_time"]=>
+  [u"starttransfer_time"]=>
   float(%f)
-  ["redirect_time"]=>
+  [u"redirect_time"]=>
   float(0)
 }
 ===DONE===
index 4167c0532a1cfb99b22d6706f99a12a1f6bf6ae3..dd961e823b70b0474636c5a4642698345824036f 100644 (file)
@@ -27,9 +27,6 @@ curl_close($ch);
 var_dump( $curl_content );
 ?>
 --EXPECTF--
-PHP Warning:  Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
+PHP Warning:  Directive 'safe_mode' is no longer supported in PHP 6 and greater in Unknown on line 0
 *** Testing curl_setopt with CURLOPT_FOLLOWLOCATION in safemode
-
-Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in %s on line %d
 bool(false)
-