summaryrefslogtreecommitdiff
path: root/ext/curl
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-08-09 11:06:57 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-08-09 22:03:36 +0200
commit7aacc705d03887c64a90489e367f4c40b46aa3c2 (patch)
treeec7388f82b37e8611c7513aa95678d7feae82329 /ext/curl
parent05478e985eb50c473054b4f1bf174f48ead78784 (diff)
downloadphp-git-7aacc705d03887c64a90489e367f4c40b46aa3c2.tar.gz
Add many missing closing PHP tags to tests
Closes GH-5958
Diffstat (limited to 'ext/curl')
-rw-r--r--ext/curl/tests/bug52202.phpt1
-rw-r--r--ext/curl/tests/bug52827.phpt1
-rw-r--r--ext/curl/tests/curl_CURLOPT_READDATA.phpt1
-rw-r--r--ext/curl/tests/curl_reset.phpt2
4 files changed, 3 insertions, 2 deletions
diff --git a/ext/curl/tests/bug52202.phpt b/ext/curl/tests/bug52202.phpt
index eee386480e..39e14072f8 100644
--- a/ext/curl/tests/bug52202.phpt
+++ b/ext/curl/tests/bug52202.phpt
@@ -14,5 +14,6 @@ curl_setopt($curl, CURLOPT_TIMEOUT, 1);
curl_exec($curl);
var_dump(curl_getinfo($curl, CURLINFO_PRIVATE));
+?>
--EXPECT--
string(3) "123"
diff --git a/ext/curl/tests/bug52827.phpt b/ext/curl/tests/bug52827.phpt
index f0faad68f5..8fbcad627d 100644
--- a/ext/curl/tests/bug52827.phpt
+++ b/ext/curl/tests/bug52827.phpt
@@ -28,5 +28,6 @@ $handle=curl_init('http://www.example.com');
curl_setopt($handle, CURLOPT_STDERR, $s);
echo "Done.";
+?>
--EXPECT--
Done.
diff --git a/ext/curl/tests/curl_CURLOPT_READDATA.phpt b/ext/curl/tests/curl_CURLOPT_READDATA.phpt
index 1bf5493acd..9266139c0d 100644
--- a/ext/curl/tests/curl_CURLOPT_READDATA.phpt
+++ b/ext/curl/tests/curl_CURLOPT_READDATA.phpt
@@ -36,6 +36,7 @@ curl_close($ch);
// Clean the temporary file
@unlink($tempname);
+?>
--EXPECT--
array(2) {
["hello"]=>
diff --git a/ext/curl/tests/curl_reset.phpt b/ext/curl/tests/curl_reset.phpt
index 59ed2ed6a5..911c826494 100644
--- a/ext/curl/tests/curl_reset.phpt
+++ b/ext/curl/tests/curl_reset.phpt
@@ -34,8 +34,6 @@ echo file_get_contents($test_file);
// cleanup
unlink($test_file);
unlink($log_file);
-
?>
-
--EXPECT--
testtest