File tree 2 files changed +16
-15
lines changed
2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 7
7
--FILE--
8
8
<?php
9
9
10
- $ url = substr (uniqid (),0 ,7 )."://www.example.com " ;
10
+ // Make sure the scheme always starts with an alphabetic character.
11
+ $ url = 'a ' . substr (uniqid (),0 ,6 )."://www.example.com " ;
11
12
$ ch = curl_init ();
12
13
curl_setopt ($ ch , CURLOPT_URL , $ url );
13
14
Original file line number Diff line number Diff line change @@ -42,25 +42,25 @@ zend_leak_variable(do_stuff("php://memory"));
42
42
43
43
echo "\nDone. \n" ;
44
44
?>
45
- --EXPECTF --
46
- temp stream (close after):
45
+ --EXPECTREGEX --
46
+ temp stream \ (close after\ ):
47
47
About to rewind!
48
- * Couldn't open file /i_dont_exist/
49
- * Closing connection%A%d
48
+ (\* processing: file:\/\/\/i_dont_exist\/\n)?\* Couldn't open file \ /i_dont_exist\ /
49
+ \ * Closing connection( -?\d+)?
50
50
51
- memory stream (close after):
51
+ memory stream \ (close after\ ):
52
52
About to rewind!
53
- * Couldn't open file /i_dont_exist/
54
- * Closing connection%A%d
53
+ (\* processing: file:\/\/\/i_dont_exist\/\n)?\* Couldn't open file \ /i_dont_exist\ /
54
+ \ * Closing connection( -?\d+)?
55
55
56
- temp stream (leak):
56
+ temp stream \ (leak\ ):
57
57
About to rewind!
58
- * Couldn't open file /i_dont_exist/
59
- * Closing connection%A%d
58
+ (\* processing: file:\/\/\/i_dont_exist\/\n)?\* Couldn't open file \ /i_dont_exist\ /
59
+ \ * Closing connection( -?\d+)?
60
60
61
- memory stream (leak):
61
+ memory stream \ (leak\ ):
62
62
About to rewind!
63
- * Couldn't open file /i_dont_exist/
64
- * Closing connection%A%d
63
+ (\* processing: file:\/\/\/i_dont_exist\/\n)?\* Couldn't open file \ /i_dont_exist\ /
64
+ \ * Closing connection( -?\d+)?
65
65
66
- Done.
66
+ Done\ .
You can’t perform that action at this time.
0 commit comments