Down to a single curl test failure now

This commit is contained in:
Rasmus Lerdorf 2009-07-26 03:46:22 +00:00
parent e7e232cd2b
commit 578c47faa4
4 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ function curl_callback($curl_handle, $received_data)
$log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
$fp = fopen($log_file, 'w+');
fwrite($fp, "test");
fwrite($fp, b"test");
fclose($fp);
$ch = curl_init();

View File

@ -14,7 +14,7 @@ $test_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
$log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
$fp = fopen($log_file, 'w+');
fwrite($fp, "test");
fwrite($fp, b"test");
fclose($fp);
$testfile_fp = fopen($test_file, 'w+');

View File

@ -14,7 +14,7 @@ of curl_write().
$log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
$fp = fopen($log_file, 'w+');
fwrite($fp, "test");
fwrite($fp, b"test");
fclose($fp);
$ch = curl_init();

View File

@ -13,7 +13,7 @@ Writes the value 'test' to a temporary file. Use curl to access this file and st
$log_file = tempnam(sys_get_temp_dir(), 'php-curl-test');
$fp = fopen($log_file, 'w+');
fwrite($fp, "test");
fwrite($fp, b"test");
fclose($fp);
$ch = curl_init();