Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/dom/
H A Dparentnode.c131 xmlNode *fragment; in dom_zvals_to_fragment() local
150 if (!fragment) { in dom_zvals_to_fragment()
193 xmlFree(fragment); in dom_zvals_to_fragment()
209 xmlFree(fragment); in dom_zvals_to_fragment()
217 return fragment; in dom_zvals_to_fragment()
266 xmlFree(fragment); in dom_parent_node_append()
298 xmlFree(fragment); in dom_parent_node_prepend()
305 xmlNode *fragment; in dom_parent_node_after() local
333 xmlFree(fragment); in dom_parent_node_after()
340 xmlNode *fragment; in dom_parent_node_before() local
[all …]
H A Dnode.c789 …nt(xmlNodePtr nodep, xmlNodePtr prevsib, xmlNodePtr nextsib, xmlNodePtr fragment, dom_object *inte… in _php_dom_insert_fragment() argument
793 newchild = fragment->children; in _php_dom_insert_fragment()
803 nodep->last = fragment->last; in _php_dom_insert_fragment()
805 fragment->last->next = nextsib; in _php_dom_insert_fragment()
806 nextsib->prev = fragment->last; in _php_dom_insert_fragment()
820 if (node == fragment->last) { in _php_dom_insert_fragment()
826 fragment->children = NULL; in _php_dom_insert_fragment()
827 fragment->last = NULL; in _php_dom_insert_fragment()
/PHP-8.0/ext/dom/tests/
H A DDOM4_ParentNode_Fragment.phpt12 $fragment = $dom->createDocumentFragment();
13 $fragment->appendChild($dom->createTextNode('foo'));
15 $fragment->appendChild($dom->createElement('bar', 'LastElement'));
16 $fragment->appendChild($dom->createTextNode('bar'));
18 var_dump($fragment instanceof DOMParentNode);
19 print_node($fragment->firstElementChild);
20 print_node($fragment->lastElementChild);
21 var_dump($fragment->childElementCount);
22 var_dump($fragment->lastElementChild->firstElementChild);
23 var_dump($fragment->lastElementChild->lastElementChild);
[all …]
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 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-8.0/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.phpt317 ["fragment"]=>
332 ["fragment"]=>
443 ["fragment"]=>
460 ["fragment"]=>
477 ["fragment"]=>
496 ["fragment"]=>
513 ["fragment"]=>
530 ["fragment"]=>
549 ["fragment"]=>
689 ["fragment"]=>
[all …]
H A Dparse_url_unterminated.phpt325 ["fragment"]=>
340 ["fragment"]=>
451 ["fragment"]=>
468 ["fragment"]=>
485 ["fragment"]=>
504 ["fragment"]=>
521 ["fragment"]=>
538 ["fragment"]=>
557 ["fragment"]=>
697 ["fragment"]=>
[all …]
H A Dparse_url_error_002.phpt37 ["fragment"]=>
/PHP-8.0/ext/zip/
H A Dzip_stream.c130 char *fragment; in php_zip_ops_stat() local
135 fragment = strchr(path, '#'); in php_zip_ops_stat()
136 if (!fragment) { in php_zip_ops_stat()
145 fragment_len = strlen(fragment); in php_zip_ops_stat()
159 fragment++; in php_zip_ops_stat()
255 char *fragment; in php_stream_zip_opener() local
262 fragment = strchr(path, '#'); in php_stream_zip_opener()
263 if (!fragment) { in php_stream_zip_opener()
271 fragment_len = strlen(fragment); in php_stream_zip_opener()
285 fragment++; in php_stream_zip_opener()
[all …]
/PHP-8.0/ext/standard/tests/strings/
H A Dstrip_tags_basic2.phpt8 $string = "<html><p>hello</p><b>world</b><a href=\"#fragment\">Other text</a></html><?php echo hell…
45 string(44) "helloworld<a href="#fragment">Other text</a>"
47 string(44) "helloworld<a href="#fragment">Other text</a>"
53 string(64) "<html><p>hello</p>world<a href="#fragment">Other text</a></html>"
H A Durl_t.phpt392 ["fragment"]=>
407 ["fragment"]=>
518 ["fragment"]=>
535 ["fragment"]=>
552 ["fragment"]=>
571 ["fragment"]=>
588 ["fragment"]=>
605 ["fragment"]=>
624 ["fragment"]=>
749 ["fragment"]=>
[all …]
/PHP-8.0/ext/standard/
H A Durl.c46 if (theurl->fragment) in php_url_free()
47 zend_string_release_ex(theurl->fragment, 0); in php_url_free()
301 ret->fragment = zend_string_init(p, (e - p), 0); in php_url_parse_ex2()
302 php_replace_controlchars_ex(ZSTR_VAL(ret->fragment), ZSTR_LEN(ret->fragment)); in php_url_parse_ex2()
304 ret->fragment = ZSTR_EMPTY_ALLOC(); in php_url_parse_ex2()
376 if (resource->fragment != NULL) RETVAL_STR_COPY(resource->fragment); in PHP_FUNCTION()
417 if (resource->fragment != NULL) { in PHP_FUNCTION()
418 ZVAL_STR_COPY(&tmp, resource->fragment); in PHP_FUNCTION()
H A Durl.h28 zend_string *fragment; member
H A Durl_scanner_ex.re197 if (url_parts->fragment && '#' == ZSTR_VAL(url->s)[0]) {
228 if (!url_parts->path && !url_parts->query && !url_parts->fragment) {
270 if (url_parts->fragment) {
272 smart_str_appends(dest, ZSTR_VAL(url_parts->fragment));
/PHP-8.0/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-8.0/ext/soap/
H A Dphp_http.c571 if (phpurl->fragment) { in make_http_soap_request()
573 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->fragment)); in make_http_soap_request()
785 if (phpurl->fragment) { in make_http_soap_request()
787 smart_str_appends(&soap_headers, ZSTR_VAL(phpurl->fragment)); in make_http_soap_request()
1230 if (phpurl->fragment) phpurl->fragment = zend_string_copy(phpurl->fragment); in make_http_soap_request()

Completed in 47 milliseconds

12