Home
last modified time | relevance | path

Searched refs:element (Results 101 – 125 of 878) sorted by relevance

12345678910>>...36

/php-src/ext/dom/lexbor/lexbor/html/interfaces/
H A Dtable_element.c14 lxb_html_table_element_t *element; in lxb_html_table_element_interface_create() local
16 element = lexbor_mraw_calloc(document->dom_document.mraw, in lxb_html_table_element_interface_create()
18 if (element == NULL) { in lxb_html_table_element_interface_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_html_table_element_interface_create()
27 return element; in lxb_html_table_element_interface_create()
H A Dtable_row_element.c14 lxb_html_table_row_element_t *element; in lxb_html_table_row_element_interface_create() local
16 element = lexbor_mraw_calloc(document->dom_document.mraw, in lxb_html_table_row_element_interface_create()
18 if (element == NULL) { in lxb_html_table_row_element_interface_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_html_table_row_element_interface_create()
27 return element; in lxb_html_table_row_element_interface_create()
H A Dwindow.c14 lxb_html_window_t *element; in lxb_html_window_create() local
16 element = lexbor_mraw_calloc(document->dom_document.mraw, in lxb_html_window_create()
18 if (element == NULL) { in lxb_html_window_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_html_window_create()
27 return element; in lxb_html_window_create()
/php-src/ext/dom/tests/
H A DDOM4_DOMNode_replaceWith.phpt12 $element = $dom->documentElement->firstChild;
13 $element->replaceWith(
14 $dom->createElement('element', 'content'),
21 <element>
23 </element>
H A DDOMElement_hasAttributes_basic.phpt19 $element = $dom->documentElement;
22 echo get_class($element), "\n";
25 var_dump($element->hasAttributes());
28 $element = $nodelist->item(0);
31 echo get_class($element), "\n";
34 var_dump($element->hasAttributes());
H A DDOMDocument_relaxNGValidateSource_error1.phpt14 <element name="apple">
15 <element name="pear">
17 </element>
18 </element>
38 Warning: DOMDocument::relaxNGValidateSource(): Did not expect element pear there in %s on line %d
/php-src/ext/dom/tests/modern/xml/
H A Dbug48339.phpt8 $element = $document->createElement('test');
9 $element = $document->appendChild($element);
10 $element->setAttribute("xml:id", 1);
11 $element->setIdAttribute("xml:id", TRUE);
/php-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_fromString_line_column.phpt27 foreach ($xpath->query("//*") as $element) {
28 echo "Element: '", $element->tagName, "', ", $element->getLineNo(), "\n";
31 foreach ($xpath->query("//*[name()='strong']") as $element) {
32 echo "Text: '", $element->textContent, "', ", $element->firstChild->getLineNo(), "\n";
35 foreach ($xpath->query("//*[name()='div']") as $element) {
36 foreach ($element->attributes as $attribute) {
/php-src/tests/classes/
H A Darray_access_011.phpt12 private $element;
16 echo __METHOD__ . "($element)\n";
19 $this->element = $element;
23 echo __METHOD__ . "($this->element, $index)\n";
28 echo __METHOD__ . "($this->element, $index)\n";
29 …return isset($this->oarray[$this->element][$index]) ? $this->oarray[$this->element][$index] : NULL;
34 $this->oarray[$this->element][$index] = $value;
38 echo __METHOD__ . "($this->element, $index)\n";
39 unset($this->oarray[$this->element][$index]);
133 ["element":"ArrayAccessReferenceProxy":private]=>
[all …]
H A Darray_access_010.phpt11 private $element;
13 function __construct(ArrayAccess $object, array &$element)
17 $this->element = &$element;
21 echo __METHOD__ . "($this->element, $index)\n";
22 return array_key_exists($index, $this->element);
27 return isset($this->element[$index]) ? $this->element[$index] : NULL;
32 $this->element[$index] = $value;
37 unset($this->element[$index]);
116 ["element":"ArrayReferenceProxy":private]=>
154 ["element":"ArrayReferenceProxy":private]=>
/php-src/ext/spl/
H A Dspl_observer.c206 element.obj = obj; in spl_object_storage_attach()
209 ZVAL_COPY(&element.inf, inf); in spl_object_storage_attach()
211 ZVAL_NULL(&element.inf); in spl_object_storage_attach()
246 spl_object_storage_attach(intern, element->obj, &element->inf); in spl_object_storage_addall()
344 ZVAL_OBJ(&obj, element->obj); in spl_object_storage_debug_info()
451 if (!element) { in spl_object_storage_has_dimension()
471 if (!element) { in spl_object_storage_read_dimension()
552 if (!element) { in PHP_METHOD()
744 zval_ptr_dtor(&element->inf); in PHP_METHOD()
745 ZVAL_COPY(&element->inf, inf); in PHP_METHOD()
[all …]
/php-src/ext/spl/tests/
H A DarrayObject_exchangeArray_basic1.phpt10 $ao['a'] = 'adding element to $ao';
11 $swapIn['b'] = 'adding element to $swapIn';
12 $ao['c'] = 'adding another element to $ao';
26 string(25) "adding element to $swapIn"
36 string(21) "adding element to $ao"
38 string(29) "adding another element to $ao"
H A DarrayObject_clone_basic3.phpt20 $innerArrayObject['new.iAO'] = 'new element added $innerArrayObject';
21 $outerArrayObject['new.oAO'] = 'new element added to $outerArrayObject';
22 $clonedOuterArrayObject['new.coAO'] = 'new element added to $clonedOuterArrayObject';
35 string(35) "new element added $innerArrayObject"
37 string(38) "new element added to $outerArrayObject"
49 string(35) "new element added $innerArrayObject"
51 string(38) "new element added to $outerArrayObject"
66 string(35) "new element added $innerArrayObject"
68 string(38) "new element added to $outerArrayObject"
80 string(44) "new element added to $clonedOuterArrayObject"
H A DarrayObject_exchangeArray_basic2.phpt19 $obj = new ArrayObject(array('key'=>'ArrayObject element'));
25 $obj = new ArrayIterator(array('key'=>'ArrayIterator element'));
31 $obj = new ArrayObject(new ArrayObject(array('key'=>'nested ArrayObject element')));
58 string(19) "ArrayObject element"
65 string(19) "ArrayObject element"
71 string(21) "ArrayIterator element"
78 string(21) "ArrayIterator element"
84 string(26) "nested ArrayObject element"
93 string(26) "nested ArrayObject element"
H A DarrayObject_setFlags_basic1.phpt19 $ao = new C(array('p'=>'array element'));
25 echo "\n--> Remove the real property and access the array element:\n";
29 echo "\n--> Remove the array element and try access again:\n";
39 --> Remove the real property and access the array element:
41 string(13) "array element"
42 string(21) "array element.changed"
44 --> Remove the array element and try access again:
H A Drecursiveiteratoriterator_nextelement_basic.phpt2 SPL: RecursiveIteratorIterator::nextElement() is called when the next element is ready
12 foreach ($iterator as $element) {
13 var_dump($element);
22 foreach ($iterator as $element) {
23 var_dump($element);
/php-src/ext/dom/tests/delayed_freeing/
H A Delement_declaration.phpt2 Delayed freeing element declaration
17 $element = $doc->documentElement->firstElementChild;
19 var_dump($element->tagName);
20 var_dump($element->textContent);
24 var_dump($element->tagName);
25 var_dump($element->textContent);
/php-src/ext/dom/tests/modern/spec/
H A DElement_setAttributeNode_inuse.phpt13 $element = $container->appendChild($dom1->createElement("element"));
15 $element->setAttributeNode($attr1);
24 <container my-attribute="1"><element></element></container>
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Dcdata_section.c14 lxb_dom_cdata_section_t *element; in lxb_dom_cdata_section_interface_create() local
16 element = lexbor_mraw_calloc(document->mraw, in lxb_dom_cdata_section_interface_create()
18 if (element == NULL) { in lxb_dom_cdata_section_interface_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_dom_cdata_section_interface_create()
27 return element; in lxb_dom_cdata_section_interface_create()
H A Dtext.c14 lxb_dom_text_t *element; in lxb_dom_text_interface_create() local
16 element = lexbor_mraw_calloc(document->mraw, in lxb_dom_text_interface_create()
18 if (element == NULL) { in lxb_dom_text_interface_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_dom_text_interface_create()
27 return element; in lxb_dom_text_interface_create()
H A Dcomment.c14 lxb_dom_comment_t *element; in lxb_dom_comment_interface_create() local
16 element = lexbor_mraw_calloc(document->mraw, in lxb_dom_comment_interface_create()
18 if (element == NULL) { in lxb_dom_comment_interface_create()
22 lxb_dom_node_t *node = lxb_dom_interface_node(element); in lxb_dom_comment_interface_create()
27 return element; in lxb_dom_comment_interface_create()
/php-src/Zend/tests/array_unpack/
H A Dalready_occupied.phpt31 Cannot add element to the array as the next element is already occupied
32 Cannot add element to the array as the next element is already occupied
33 Cannot add element to the array as the next element is already occupied
/php-src/Zend/tests/
H A Darray_literal_next_element_error.phpt2 Next free element may overflow in array literals
23 Cannot add element to the array as the next element is already occupied
24 Cannot add element to the array as the next element is already occupied
H A Dbug32674.phpt21 $element = current($this->_elements);
22 return $element;
26 $element = next($this->_elements);
27 $element;
32 $element = key($this->_elements);
33 return $element;
/php-src/ext/dom/
H A Dxml_serializer.c308 xmlNodePtr element in dom_recording_the_namespace_information() argument
615 xmlNodePtr element, in dom_xml_serialize_attributes() argument
759 xmlNodePtr child = element->children; in dom_xml_should_format_element()
785 xmlNodePtr element, in dom_xml_serialize_element_node() argument
790 …bool should_format = indent >= 0 && element->children != NULL && dom_xml_should_format_element(ele… in dom_xml_serialize_element_node()
825 const xmlChar *const ns = element->ns == NULL ? NULL : element->ns->href; in dom_xml_serialize_element_node()
838 qualified_name.name = element->name; in dom_xml_serialize_element_node()
842 qualified_name.name = element->name; in dom_xml_serialize_element_node()
851 const xmlChar *prefix = element->ns == NULL ? NULL : element->ns->prefix; in dom_xml_serialize_element_node()
875 qualified_name.name = element->name; in dom_xml_serialize_element_node()
[all …]

Completed in 39 milliseconds

12345678910>>...36