1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
  Fix EXPECT for bug52820.phpt on newer curl versions
  Fix curl_basic_009.phpt for newer curl versions
This commit is contained in:
Ilija Tovilo
2023-08-10 15:52:14 +02:00
2 changed files with 16 additions and 15 deletions

View File

@@ -7,7 +7,8 @@ curl
--FILE--
<?php
$url = substr(uniqid(),0,7)."://www.".uniqid().".".uniqid();
// Make sure the scheme always starts with an alphabetic character.
$url = 'a' . substr(uniqid(),0,6)."://www.example.com";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);

View File

@@ -42,25 +42,25 @@ zend_leak_variable(do_stuff("php://memory"));
echo "\nDone.\n";
?>
--EXPECTF--
temp stream (close after):
--EXPECTREGEX--
temp stream \(close after\):
About to rewind!
* Couldn't open file /i_dont_exist/
* Closing connection%A%d
(\* processing: file:\/\/\/i_dont_exist\/\n)?\* Couldn't open file \/i_dont_exist\/
\* Closing connection( -?\d+)?
memory stream (close after):
memory stream \(close after\):
About to rewind!
* Couldn't open file /i_dont_exist/
* Closing connection%A%d
(\* processing: file:\/\/\/i_dont_exist\/\n)?\* Couldn't open file \/i_dont_exist\/
\* Closing connection( -?\d+)?
temp stream (leak):
temp stream \(leak\):
About to rewind!
* Couldn't open file /i_dont_exist/
* Closing connection%A%d
(\* processing: file:\/\/\/i_dont_exist\/\n)?\* Couldn't open file \/i_dont_exist\/
\* Closing connection( -?\d+)?
memory stream (leak):
memory stream \(leak\):
About to rewind!
* Couldn't open file /i_dont_exist/
* Closing connection%A%d
(\* processing: file:\/\/\/i_dont_exist\/\n)?\* Couldn't open file \/i_dont_exist\/
\* Closing connection( -?\d+)?
Done.
Done\.