Home
last modified time | relevance | path

Searched refs:element (Results 176 – 200 of 922) sorted by relevance

12345678910>>...37

/php-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_encoding_edge_case_06.phpt10 $element = $dom->createElement("container");
11 $dom->append($element);
13 $element->append(str_repeat("A", 4096 - 1 - strlen("<container>")) . "\xf0\x90");
H A DHTMLDocument_encoding_edge_case_03.phpt10 $element = $dom->createElement("container");
11 $dom->append($element);
14 $element->append(str_repeat("A", 4096 - 2 - strlen("<container>")) . "\xff\xff\xff");
/php-src/ext/dom/tests/modern/html/serializer/
H A DHTMLDocument_serialize_void_elements.phpt34 $element = $container->appendChild($dom->createElement($tag));
35 $element->appendChild($dom->createElement("inner"));
36 $element->after("\n");
38 var_dump($dom->saveHtml($element));
40 $element = $container->appendChild($dom->createElementNS("http://php.net/foo", "x:$tag"));
41 $element->appendChild($dom->createElement("inner"));
42 $element->after("\n");
/php-src/ext/dom/tests/
H A DDOMDocument_getElementsByTagName_liveness.phpt17 Now the loop starts, the current element is marked with a V. $i == 0:
24 …cause the list is live, the current element pointer still refers to the first index, which now cor…
25 Now the foreach body ends, which means we go to the next element, which is now 3 instead of 2.
28 3 gets printed. $i == 1, which is odd, so nothing happens and we move on to the next element:
35 Now the foreach body ends, which means we go to the next element, which is now 6 instead of 5.
H A Dgh16039.phpt9 $element = $dom->appendChild($dom->createElement('root'));
11 $element->prepend('x', new DOMEntity);
18 $element->prepend('x', new DOMEntity);
H A DDOM4_DOMNode_append_ns.phpt12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element');
23 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
25 </element>
H A DDOM4_DOMNode_prepend_ns.phpt12 $root = $doc->createElementNS('http://www.w3.org/2005/Atom', 'element');
23 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
25 </element>
/php-src/ext/soap/tests/schema/
H A Dschema034.phpt2 SOAP XML Schema 34: Nested complex types (element ref)
10 <element name="testType2" type="tns:testType2"/>
13 <element name="int" type="int"/>
18 <element name="int" type="int"/>
19 <element ref="tns:testType2"/>
H A Dschema036.phpt12 <element name="int" type="int"/>
13 <element name="testType2">
16 <element name="int" type="int"/>
19 </element>
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Dcharacter_data.c14 lxb_dom_character_data_t *element; in lxb_dom_character_data_interface_create() local
16 element = lexbor_mraw_calloc(document->mraw, in lxb_dom_character_data_interface_create()
18 if (element == NULL) { in lxb_dom_character_data_interface_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_dom_character_data_interface_create()
27 return element; in lxb_dom_character_data_interface_create()
H A Ddocument_type.c19 lxb_dom_document_type_t *element; in lxb_dom_document_type_interface_create() local
21 element = lexbor_mraw_calloc(document->mraw, in lxb_dom_document_type_interface_create()
23 if (element == NULL) { in lxb_dom_document_type_interface_create()
27 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_dom_document_type_interface_create()
32 return element; in lxb_dom_document_type_interface_create()
/php-src/ext/opcache/tests/jit/
H A Darray_elem_002.phpt2 Occupied next element
16 Fatal error: Uncaught Error: Cannot add element to the array as the next element is already occupie…
/php-src/ext/dom/tests/modern/token_list/
H A Dchange_attribute.phpt9 $element = $dom->documentElement;
10 $list = $element->classList;
14 $element->attributes[0]->value = 'd';
H A Dcontains_empty.phpt9 $element = $dom->documentElement;
10 $list = $element->classList;
/php-src/Zend/tests/
H A Dbug71841.phpt43 Cannot add element to the array as the next element is already occupied
44 Cannot add element to the array as the next element is already occupied
45 Cannot add element to the array as the next element is already occupied
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Din_table_body.c32 lxb_html_element_t *element; in lxb_html_tree_insertion_mode_in_table_body_tr() local
36 element = lxb_html_tree_insert_html_element(tree, token); in lxb_html_tree_insertion_mode_in_table_body_tr()
37 if (element == NULL) { in lxb_html_tree_insertion_mode_in_table_body_tr()
56 lxb_html_element_t *element; in lxb_html_tree_insertion_mode_in_table_body_thtd() local
68 element = lxb_html_tree_insert_html_element(tree, &fake_token); in lxb_html_tree_insertion_mode_in_table_body_thtd()
69 if (element == NULL) { in lxb_html_tree_insertion_mode_in_table_body_thtd()
H A Dbefore_head.c136 lxb_html_element_t *element; in lxb_html_tree_insertion_mode_before_head_head() local
138 element = lxb_html_tree_insert_html_element(tree, token); in lxb_html_tree_insertion_mode_before_head_head()
139 if (element == NULL) { in lxb_html_tree_insertion_mode_before_head_head()
143 tree->document->head = lxb_html_interface_head(element); in lxb_html_tree_insertion_mode_before_head_head()
/php-src/Zend/
H A Dzend_stack.h40 ZEND_API int zend_stack_push(zend_stack *stack, const void *element);
48 ZEND_API void zend_stack_apply(zend_stack *stack, int type, int (*apply_function)(void *element));
49 …ack *stack, zend_stack_apply_direction type, int (*apply_function)(void *element, void *arg), void…
/php-src/ext/dom/lexbor/lexbor/html/interfaces/
H A Dtitle_element.c15 lxb_html_title_element_t *element; in lxb_html_title_element_interface_create() local
17 element = lexbor_mraw_calloc(document->dom_document.mraw, in lxb_html_title_element_interface_create()
19 if (element == NULL) { in lxb_html_title_element_interface_create()
23 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_html_title_element_interface_create()
28 return element; in lxb_html_title_element_interface_create()
H A Dstyle_element.h19 lxb_html_element_t element; member
31 lxb_html_style_element_parse(lxb_html_style_element_t *element);
/php-src/ext/soap/tests/bugs/
H A Dbug68361.phpt22 <xsd:element name="id" type="xsd:int"/>
23 <xsd:element name="department" type="xsd:string"/>
24 <xsd:element name="name" type="xsd:string"/>
25 <xsd:element name="age" type="xsd:int"/>
28 <xsd:element name="Employee" nillable="true" type="ns:Employee"/>
31 <xsd:element name="name" type="xsd:string"/>
32 <xsd:element name="age" type="xsd:int"/>
35 <xsd:element name="User" nillable="true" type="ns:User"/>
48 <part name="userReturn" element="ns:User"/>
/php-src/ext/standard/tests/file/
H A Dbug40501.csv1 "this element contains the delimiter, and ends with an odd number of
2 backslashes (ex: 1)\",and it isn't the last element$
/php-src/ext/dom/tests/modern/html/interactions/
H A DHTMLDocument_registerNodeClass_02.phpt20 $element = $dom->appendChild($dom->createElement("foo"));
23 var_dump(get_class($element->ownerDocument));
26 $element->ownerDocument->foo();
/php-src/ext/standard/tests/array/
H A Dbug51552.phpt5 function walk($element, $key, $p) {
7 echo "$element\n";
/php-src/ext/dom/tests/bug79701/
H A Dset_attribute_xml.phpt58 test($dom, fn ($element, $name, $value) => $element->setAttribute($name, $value));
64 test($dom, fn ($element, $name, $value) => $element->setAttributeNS(getNamespace($name), $name, $va…
69 test($dom, fn ($element, $name, $value) => $element->setAttribute($name, $value));
74 test($dom, fn ($element, $name, $value) => $element->setAttributeNS(getNamespace($name), $name, $va…

Completed in 26 milliseconds

12345678910>>...37