File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 77--FILE--
88<?php
99
10- $ url = substr (uniqid (),0 ,7 )."://www. " .uniqid ().". " .uniqid ();
10+ // Make sure the scheme always starts with an alphabetic character.
11+ $ url = 'a ' . substr (uniqid (),0 ,6 )."://www.example.com " ;
1112$ ch = curl_init ();
1213curl_setopt ($ ch , CURLOPT_URL , $ url );
1314
Original file line number Diff line number Diff line change @@ -44,25 +44,25 @@ zend_leak_variable(do_stuff("php://memory"));
4444
4545echo "\nDone. \n" ;
4646?>
47- --EXPECTF --
48- temp stream (close after):
47+ --EXPECTREGEX --
48+ temp stream \ (close after\ ):
4949About to rewind!
50- * Couldn't open file /i_dont_exist/
51- * Closing connection%A%d
50+ (\* processing: file:\/\/\/i_dont_exist\/\n)?\* Couldn't open file \ /i_dont_exist\ /
51+ \ * Closing connection( -?\d+)?
5252
53- memory stream (close after):
53+ memory stream \ (close after\ ):
5454About to rewind!
55- * Couldn't open file /i_dont_exist/
56- * Closing connection%A%d
55+ (\* processing: file:\/\/\/i_dont_exist\/\n)?\* Couldn't open file \ /i_dont_exist\ /
56+ \ * Closing connection( -?\d+)?
5757
58- temp stream (leak):
58+ temp stream \ (leak\ ):
5959About to rewind!
60- * Couldn't open file /i_dont_exist/
61- * Closing connection%A%d
60+ (\* processing: file:\/\/\/i_dont_exist\/\n)?\* Couldn't open file \ /i_dont_exist\ /
61+ \ * Closing connection( -?\d+)?
6262
63- memory stream (leak):
63+ memory stream \ (leak\ ):
6464About to rewind!
65- * Couldn't open file /i_dont_exist/
66- * Closing connection%A%d
65+ (\* processing: file:\/\/\/i_dont_exist\/\n)?\* Couldn't open file \ /i_dont_exist\ /
66+ \ * Closing connection( -?\d+)?
6767
68- Done.
68+ Done\ .
You can’t perform that action at this time.
0 commit comments