Home
last modified time | relevance | path

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

12

/PHP-7.3/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.3/ext/dom/tests/
H A DDOMDocumentFragment_appendXML_error_002.phpt2 DOMDocumentFragment::appendXML() with unbound fragment.
10 $fragment = new DOMDocumentFragment();
11 $fragment->appendXML('<bait>crankbait</bait>');
12 $document->appendChild($fragment);
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_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 DDOMDocumentFragment_appendXML_error_001.phpt10 $fragment = new DOMDocumentFragment();
11 $fragment->appendXML();
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.3/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.3/ext/standard/tests/strings/
H A Dstrip_tags_basic2.phpt15 $string = "<html><p>hello</p><b>world</b><a href=\"#fragment\">Other text</a></html><?php echo hell…
52 string(44) "helloworld<a href="#fragment">Other text</a>"
54 string(44) "helloworld<a href="#fragment">Other text</a>"
60 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.3/ext/standard/
H A Durl.c55 if (theurl->fragment) in php_url_free()
56 zend_string_release_ex(theurl->fragment, 0); in php_url_free()
312 ret->fragment = zend_string_init(p, (e - p), 0); in php_url_parse_ex2()
313 php_replace_controlchars_ex(ZSTR_VAL(ret->fragment), ZSTR_LEN(ret->fragment)); in php_url_parse_ex2()
384 if (resource->fragment != NULL) RETVAL_STR_COPY(resource->fragment); in PHP_FUNCTION()
425 if (resource->fragment != NULL) { in PHP_FUNCTION()
426 ZVAL_STR_COPY(&tmp, resource->fragment); in PHP_FUNCTION()
H A Durl.h30 zend_string *fragment; member
H A Durl_scanner_ex.c198 if (url_parts->fragment && '#' == ZSTR_VAL(url->s)[0]) { in PHP_INI_END()
229 if (!url_parts->path && !url_parts->query && !url_parts->fragment) { in PHP_INI_END()
271 if (url_parts->fragment) { in PHP_INI_END()
273 smart_str_appends(dest, ZSTR_VAL(url_parts->fragment)); in PHP_INI_END()
/PHP-7.3/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()
1501 CALLBACK_NOCLEAR(fragment); in php_http_parser_execute()
/PHP-7.3/ext/dom/
H A Dnode.c872 …nt(xmlNodePtr nodep, xmlNodePtr prevsib, xmlNodePtr nextsib, xmlNodePtr fragment, dom_object *inte… in _php_dom_insert_fragment() argument
876 newchild = fragment->children; in _php_dom_insert_fragment()
886 nodep->last = fragment->last; in _php_dom_insert_fragment()
888 fragment->last->next = nextsib; in _php_dom_insert_fragment()
889 nextsib->prev = fragment->last; in _php_dom_insert_fragment()
903 if (node == fragment->last) { in _php_dom_insert_fragment()
909 fragment->children = NULL; in _php_dom_insert_fragment()
910 fragment->last = NULL; in _php_dom_insert_fragment()
/PHP-7.3/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()
1234 if (phpurl->fragment) phpurl->fragment = zend_string_copy(phpurl->fragment); in make_http_soap_request()

Completed in 47 milliseconds

12