Home
last modified time | relevance | path

Searched refs:fragment (Results 1 – 25 of 28) sorted by relevance

12

/PHP-7.4/ext/standard/tests/url/
H A Dbug54180.phpt2 Bug #54180 (parse_url() incorrectly parses path when ? in fragment)
6 var_dump(parse_url("http://example.com/path/script.html?t=1#fragment?data"));
7 var_dump(parse_url("http://example.com/path/script.html#fragment?data"));
20 ["fragment"]=>
21 string(13) "fragment?data"
30 ["fragment"]=>
31 string(13) "fragment?data"
H A Dbug68917.phpt15 [fragment] => c=d
22 [fragment] => c=d
H A Dbug73192.phpt18 ["fragment"]=>
H A Dparse_url_basic_001.phpt313 ["fragment"]=>
435 ["fragment"]=>
452 ["fragment"]=>
469 ["fragment"]=>
488 ["fragment"]=>
505 ["fragment"]=>
522 ["fragment"]=>
541 ["fragment"]=>
681 ["fragment"]=>
721 ["fragment"]=>
H A Dparse_url_unterminated.phpt315 ["fragment"]=>
437 ["fragment"]=>
454 ["fragment"]=>
471 ["fragment"]=>
490 ["fragment"]=>
507 ["fragment"]=>
524 ["fragment"]=>
543 ["fragment"]=>
683 ["fragment"]=>
723 ["fragment"]=>
H A Dparse_url_error_002.phpt39 ["fragment"]=>
/PHP-7.4/ext/dom/tests/
H A DDOMDocumentFragment_appendXML_hasChildNodes_basic.phpt9 $fragment = $doc->createDocumentFragment();
10 if ($fragment->hasChildNodes()) {
15 $fragment->appendXML('<foo>bar</foo>');
16 if ($fragment->hasChildNodes()) {
H A DDOMDocumentFragment_construct_basic_002.phpt10 $fragment = new DOMDocumentFragment();
11 $fragment->__construct();
12 var_dump($fragment);
H A DDOMDocumentFragment_appendXML_error_002.phpt2 DOMDocumentFragment::appendXML() with unbound fragment.
10 $fragment = new DOMDocumentFragment();
12 $fragment->appendXML('<bait>crankbait</bait>');
H A DDOMDocumentFragment_appendXML_basic_001.phpt14 $fragment = $document->createDocumentFragment();
15 $fragment->appendXML('<foo id="baz">bar</foo>');
16 $root->appendChild($fragment);
H A DDOMDocumentFragment_appendXML_error_003.phpt14 $fragment = $document->createDocumentFragment();
15 @$fragment->appendXML('<foo>is<bar>great</foo>');
16 $root->appendChild($fragment);
H A DDOMDocumentFragment_construct_basic_001.phpt10 $fragment = new DOMDocumentFragment();
11 var_dump(get_class($fragment));
H A Dbug76738.phpt168 $fragment = $doc->createDocumentFragment();
172 $fragment->appendChild($childNode);
174 $html->parentNode->replaceChild($fragment, $html);
180 $fragment = $doc->createDocumentFragment();
184 $fragment->appendChild($childNode);
187 $body->parentNode->replaceChild($fragment, $body);
213 $fragment = $doc->createDocumentFragment();
219 $fragment->appendChild($doc->createTextNode($childNode->nodeValue));
224 $fragment->appendChild($childNode);
227 $node->parentNode->replaceChild($fragment, $node);
H A DDOMDocumentFragment_construct_error_001.phpt11 $fragment = new DOMDocumentFragment("root");
H A Dbug28721.phpt104 echo "\nAppending fragment to p:\n";
113 echo "\nInserting fragment before t4\n";
285 name (value): #document-fragment ()
291 parent: name (value): #document-fragment ()
296 parent: name (value): #document-fragment ()
306 parent: name (value): #document-fragment ()
310 Appending fragment to p:
364 name (value): #document-fragment ()
401 Inserting fragment before t4
/PHP-7.4/ext/zip/
H A Dzip_stream.c132 char *fragment; in php_zip_ops_stat() local
137 fragment = strchr(path, '#'); in php_zip_ops_stat()
138 if (!fragment) { in php_zip_ops_stat()
147 fragment_len = strlen(fragment); in php_zip_ops_stat()
161 fragment++; in php_zip_ops_stat()
276 char *fragment; in php_stream_zip_opener() local
283 fragment = strchr(path, '#'); in php_stream_zip_opener()
284 if (!fragment) { in php_stream_zip_opener()
292 fragment_len = strlen(fragment); in php_stream_zip_opener()
306 fragment++; in php_stream_zip_opener()
[all …]
/PHP-7.4/ext/standard/tests/strings/
H A Dstrip_tags_basic2.phpt13 $string = "<html><p>hello</p><b>world</b><a href=\"#fragment\">Other text</a></html><?php echo hell…
50 string(44) "helloworld<a href="#fragment">Other text</a>"
52 string(44) "helloworld<a href="#fragment">Other text</a>"
58 string(64) "<html><p>hello</p>world<a href="#fragment">Other text</a></html>"
H A Durl_t.phpt382 ["fragment"]=>
504 ["fragment"]=>
521 ["fragment"]=>
538 ["fragment"]=>
557 ["fragment"]=>
574 ["fragment"]=>
591 ["fragment"]=>
610 ["fragment"]=>
735 ["fragment"]=>
775 ["fragment"]=>
/PHP-7.4/ext/standard/
H A Durl.c51 if (theurl->fragment) in php_url_free()
52 zend_string_release_ex(theurl->fragment, 0); in php_url_free()
308 ret->fragment = zend_string_init(p, (e - p), 0); in php_url_parse_ex2()
309 php_replace_controlchars_ex(ZSTR_VAL(ret->fragment), ZSTR_LEN(ret->fragment)); in php_url_parse_ex2()
380 if (resource->fragment != NULL) RETVAL_STR_COPY(resource->fragment); in PHP_FUNCTION()
421 if (resource->fragment != NULL) { in PHP_FUNCTION()
422 ZVAL_STR_COPY(&tmp, resource->fragment); in PHP_FUNCTION()
H A Durl.h30 zend_string *fragment; member
H A Durl_scanner_ex.re199 if (url_parts->fragment && '#' == ZSTR_VAL(url->s)[0]) {
230 if (!url_parts->path && !url_parts->query && !url_parts->fragment) {
272 if (url_parts->fragment) {
274 smart_str_appends(dest, ZSTR_VAL(url_parts->fragment));
/PHP-7.4/sapi/cli/
H A Dphp_http_parser.c803 MARK(fragment); in php_http_parser_execute()
826 MARK(fragment); in php_http_parser_execute()
844 CALLBACK(fragment); in php_http_parser_execute()
849 CALLBACK(fragment); in php_http_parser_execute()
856 CALLBACK(fragment); in php_http_parser_execute()
1506 CALLBACK_NOCLEAR(fragment); in php_http_parser_execute()
/PHP-7.4/ext/dom/
H A Dnode.c883 …nt(xmlNodePtr nodep, xmlNodePtr prevsib, xmlNodePtr nextsib, xmlNodePtr fragment, dom_object *inte… in _php_dom_insert_fragment() argument
887 newchild = fragment->children; in _php_dom_insert_fragment()
897 nodep->last = fragment->last; in _php_dom_insert_fragment()
899 fragment->last->next = nextsib; in _php_dom_insert_fragment()
900 nextsib->prev = fragment->last; in _php_dom_insert_fragment()
914 if (node == fragment->last) { in _php_dom_insert_fragment()
920 fragment->children = NULL; in _php_dom_insert_fragment()
921 fragment->last = NULL; in _php_dom_insert_fragment()
/PHP-7.4/ext/soap/
H A Dphp_http.c572 if (phpurl->fragment) { in make_http_soap_request()
574 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->fragment)); in make_http_soap_request()
781 if (phpurl->fragment) { in make_http_soap_request()
783 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->fragment)); in make_http_soap_request()
1226 if (phpurl->fragment) phpurl->fragment = zend_string_copy(phpurl->fragment); in make_http_soap_request()
/PHP-7.4/
H A D.gitignore73 # Makefile(s) generated from Makefile fragment templates by `./configure`

Completed in 156 milliseconds

12