Home
last modified time | relevance | path

Searched refs:url (Results 126 – 150 of 165) sorted by path

1234567

/php-src/ext/standard/tests/file/
H A Dbug44034.phpt13 foreach($urls as $url) {
14 echo strtr($url, array("\r" => "\\r", "\n" => "\\n")) . "\n";
15 var_dump(file($url, FILE_IGNORE_NEW_LINES));
H A Dbug52820.phpt19 function do_stuff($url) {
23 curl_setopt($handle, CURLOPT_STDERR, $o = fopen($url, "w+"));
H A Dinclude_userstream_002.phpt2 local user streams must not be able to open() url's
H A Duserstreams.phpt178 $b = @fopen("bogon://url", "rb");
/php-src/ext/standard/tests/general_functions/
H A Durl_rewriting_basic1.phpt25 <a href="//url-rewriter.com/foo.php"></a>
26 <a href="http://url-rewriter.com/foo.php"></a>
27 <a href="bad://url-rewriter.com/foo.php"></a>
28 <a href="//www.url-rewriter.com/foo.php"></a>
53 ini_set('url_rewriter.hosts', 'url-rewriter.com');
97 <a href="bad://url-rewriter.com/foo.php"></a>
98 <a href="//www.url-rewriter.com/foo.php"></a>
133 <a href="//url-rewriter.com/foo.php"></a>
134 <a href="http://url-rewriter.com/foo.php"></a>
135 <a href="bad://url-rewriter.com/foo.php"></a>
[all …]
H A Durl_rewriting_basic2.phpt25 <a href="//url-rewriter.com/foo.php"></a>
26 <a href="http://url-rewriter.com/foo.php"></a>
27 <a href="bad://url-rewriter.com/foo.php"></a>
28 <a href="//www.url-rewriter.com/foo.php"></a>
53 ini_set('url_rewriter.hosts', 'url-rewriter.com');
108 <a href="bad://url-rewriter.com/foo.php"></a>
109 <a href="//www.url-rewriter.com/foo.php"></a>
146 <a href="bad://url-rewriter.com/foo.php"></a>
147 <a href="//www.url-rewriter.com/foo.php"></a>
184 <a href="bad://url-rewriter.com/foo.php"></a>
[all …]
H A Durl_rewriting_basic3.phpt25 <a href="//url-rewriter.com/foo.php"></a>
26 <a href="http://url-rewriter.com/foo.php"></a>
27 <a href="bad://url-rewriter.com/foo.php"></a>
28 <a href="//www.url-rewriter.com/foo.php"></a>
99 <a href="//url-rewriter.com/foo.php"></a>
100 <a href="http://url-rewriter.com/foo.php"></a>
101 <a href="bad://url-rewriter.com/foo.php"></a>
102 <a href="//www.url-rewriter.com/foo.php"></a>
139 <a href="bad://url-rewriter.com/foo.php"></a>
140 <a href="//www.url-rewriter.com/foo.php"></a>
[all …]
/php-src/ext/standard/tests/http/
H A Dbug78719.phpt11 $url = str_repeat('*', 2000);
13 "data://text/plain,HTTP/1.0 302 Ok\r\nLocation: $url\r\n\r\nBody",
20 var_dump(stream_get_meta_data($stream)['wrapper_data'][1] === "Location: $url");
/php-src/ext/standard/tests/streams/
H A Dbug40459.phpt21 function url_stat($url, $flags)
27 function unlink($url)
47 function dir_opendir($url, $options)
H A Dbug44818.phpt5 function test($url, $mode) {
6 echo "$url, $mode\n";
7 $fd = fopen($url, $mode);
/php-src/ext/standard/tests/strings/
H A Durl_t.phpt77 foreach ($sample_urls as $url) {
78 echo "\n--> $url: ";
79 var_dump(@parse_url($url));
82 …$url = 'http://secret:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_r…
84 var_dump(parse_url($url, $v));
/php-src/ext/standard/tests/url/
H A Dparse_url_basic_001.phpt10 foreach ($urls as $url) {
11 echo "\n--> $url: ";
12 var_dump(parse_url($url));
H A Dparse_url_basic_002.phpt10 foreach ($urls as $url) {
11 echo "--> $url : ";
12 var_dump(parse_url($url, PHP_URL_SCHEME));
H A Dparse_url_basic_003.phpt10 foreach ($urls as $url) {
11 echo "--> $url : ";
12 var_dump(parse_url($url, PHP_URL_HOST));
H A Dparse_url_basic_004.phpt10 foreach ($urls as $url) {
11 echo "--> $url : ";
12 var_dump(parse_url($url, PHP_URL_PORT));
H A Dparse_url_basic_005.phpt10 foreach ($urls as $url) {
11 echo "--> $url : ";
12 var_dump(parse_url($url, PHP_URL_USER));
H A Dparse_url_basic_006.phpt10 foreach ($urls as $url) {
11 echo "--> $url : ";
12 var_dump(parse_url($url, PHP_URL_PASS));
H A Dparse_url_basic_007.phpt10 foreach ($urls as $url) {
11 echo "--> $url : ";
12 var_dump(parse_url($url, PHP_URL_PATH));
H A Dparse_url_basic_008.phpt10 foreach ($urls as $url) {
11 echo "--> $url : ";
12 var_dump(parse_url($url, PHP_URL_QUERY));
H A Dparse_url_basic_009.phpt10 foreach ($urls as $url) {
11 echo "--> $url : ";
12 var_dump(parse_url($url, PHP_URL_FRAGMENT));
H A Dparse_url_error_002.phpt2 Test parse_url() function: url component specifier out of range
5 echo "*** Testing parse_url() : error conditions: url component specifier out of range ***\n";
6 $url = 'http://secret:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_re…
9 var_dump(parse_url($url, -1));
13 parse_url($url, 99);
21 *** Testing parse_url() : error conditions: url component specifier out of range ***
H A Dparse_url_unterminated.phpt14 foreach ($urls as $url) {
15 echo "\n--> $url: ";
16 $str = zend_create_unterminated_string($url);
/php-src/ext/standard/
H A Durl.c682 char *url; in PHP_FUNCTION() local
691 Z_PARAM_PATH(url, url_len) in PHP_FUNCTION()
699 …if (!(stream = php_stream_open_wrapper_ex(url, "r", REPORT_ERRORS | STREAM_USE_URL | STREAM_ONLY_G… in PHP_FUNCTION()
H A Durl_scanner_ex.h26 PHPAPI char *php_url_scanner_adapt_single_url(const char *url, size_t urllen, const char *name, con…
H A Durl_scanner_ex.re35 #include "url.h"
190 url_parts = php_url_parse_ex(ZSTR_VAL(url->s), ZSTR_LEN(url->s));
194 smart_str_append_smart_str(dest, url);
199 if (url_parts->fragment && '#' == ZSTR_VAL(url->s)[0]) {
200 smart_str_append_smart_str(dest, url);
209 smart_str_append_smart_str(dest, url);
220 smart_str_append_smart_str(dest, url);
233 smart_str_append_smart_str(dest, url);
244 } else if (*(ZSTR_VAL(url->s)) == '/' && *(ZSTR_VAL(url->s)+1) == '/') {
594 smart_str_appendl(&surl, url, urllen);
[all …]

Completed in 59 milliseconds

1234567