Home
last modified time | relevance | path

Searched refs:element (Results 1 – 25 of 634) sorted by relevance

12345678910>>...26

/PHP-8.2/sapi/phpdbg/
H A Dphpdbg_watch.c527 zend_hash_add_ptr(&watch->elements, element->str, element);
533 return element;
539 element = phpdbg_add_watch_element(&watch, element);
541 return element;
560 element = next;
673 if (element->watch && element->watch->type == WATCH_ON_BUCKET) {
813 efree(element);
864 …memcpy(&element->backup, &element->watch->backup, /* element->watch->size */ sizeof(element->backu…
929 zend_hash_del(&element->parent->child_container, element->str);
1319 element = element->child;
[all …]
/PHP-8.2/ext/dom/tests/
H A DDOM4_ParentNode_prepend.phpt14 $element = $dom->documentElement;
15 $firstMark = $element->childNodes[0];
16 $element->prepend(
17 $dom->createElement('element', 'content'),
21 var_dump($element->childElementCount);
24 $element = $dom->documentElement;
25 $element->prepend(
26 $dom->createElement('element', 'content'),
29 var_dump($element->childElementCount);
36 <element>
[all …]
H A Dgh10234.phpt60 string(38) "<element attribute="value"></element>
64 string(42) "<element attribute="new value"></element>
67 string(50) "<element attribute="hello &amp; world"></element>
70 string(54) "<element attribute="&lt;b&gt;hi&lt;/b&gt;"></element>
73 string(45) "<element attribute='quote "test"'></element>
76 string(45) "<element attribute="quote 'test'"></element>
79 string(57) "<element attribute="quote '&quot;test&quot;'"></element>
81 -- Document element tests --
83 string(74) "<element attribute="quote '&quot;test&quot;'">hello &amp; world</element>
89 string(69) "<element attribute="quote '&quot;test&quot;'">quote "test"</element>
[all …]
H A DDOM4_ParentNode_append.phpt14 $element = $dom->documentElement;
15 $element->append(
16 $dom->createElement('element', 'content'),
21 print_node_list_compact($element->childNodes);
23 $element->append(
24 $dom->createElement('element', 'content'),
37 <element>
39 </element>
H A Dbug81433.phpt9 $element = $dom->createElement('test', 'root');
11 $dom->appendChild($element);
13 $element->setAttribute("id", 123);
14 $element->setIdAttribute("id", true);
16 $node = $element->getAttributeNode("id");
19 $element->setIdAttribute("id", true);
H A Dbug70001.phpt7 $element = new DOMText('<p>foo & bar</p>');
8 var_dump($element->textContent);
9 $element = (new DOMDocument())->createTextNode('<p>foo & bar</p>');
10 var_dump($element->textContent);
11 $element->textContent = ('<p>foo & bar</p>');
12 var_dump($element->textContent);
H A DDOM4_ParentNode.phpt17 $element = $dom->documentElement;
18 var_dump($element instanceof DOMParentNode);
19 print_node($element->firstElementChild);
20 print_node($element->lastElementChild);
21 var_dump($element->childElementCount);
22 var_dump($element->lastElementChild->firstElementChild);
23 var_dump($element->lastElementChild->lastElementChild);
24 var_dump($element->lastElementChild->childElementCount);
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());
/PHP-8.2/Zend/
H A Dzend_llist.c168 element=l->head; in zend_llist_apply_with_del()
169 while (element) { in zend_llist_apply_with_del()
170 next = element->next; in zend_llist_apply_with_del()
174 element = next; in zend_llist_apply_with_del()
183 for (element=l->head; element; element=element->next) { in zend_llist_apply()
184 func(element->data); in zend_llist_apply()
211 for (element=l->head; element; element=element->next) { in zend_llist_sort()
212 *ptr++ = element; in zend_llist_sort()
235 for (element=l->head; element; element=element->next) { in zend_llist_apply_with_argument()
236 func(element->data, arg); in zend_llist_apply_with_argument()
[all …]
H A Dzend_observer.c130 for (zend_llist_element *element = list->head; element; element = element->next) { in zend_observer_fcall_install() local
132 memcpy(&init, element->data, sizeof init); in zend_observer_fcall_install()
311 …for (zend_llist_element *element = zend_observer_function_declared_callbacks.head; element; elemen… in _zend_observer_function_declared_notify() local
329 …for (zend_llist_element *element = zend_observer_class_linked_callbacks.head; element; element = e… in _zend_observer_class_linked_notify() local
343 …for (zend_llist_element *element = zend_observer_error_callbacks.head; element; element = element-… in _zend_observer_error_notify() local
366 zend_llist_element *element; in zend_observer_fiber_init_notify() local
371 for (element = zend_observer_fiber_init.head; element; element = element->next) { in zend_observer_fiber_init_notify()
379 zend_llist_element *element; in zend_observer_fiber_switch_notify() local
386 for (element = zend_observer_fiber_switch.head; element; element = element->next) { in zend_observer_fiber_switch_notify()
397 zend_llist_element *element; in zend_observer_fiber_destroy_notify() local
[all …]
/PHP-8.2/tests/classes/
H A Darray_access_009.phpt10 function proxyGet($element);
12 function proxyUnset($element, $index);
18 private $element;
22 echo __METHOD__ . "($element)\n";
23 if (!$object->offsetExists($element))
25 $object[$element] = array();
28 $this->element = $element;
82 function proxyGet($element)
84 return $this->person[$element];
143 ["element":"ArrayProxy":private]=>
[all …]
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 …]
/PHP-8.2/ext/dom/tests/manually_call_constructor/
H A Delement.phpt2 Manually call __construct() - element variation
8 $element = new DOMElement('foo', 'my value');
9 var_dump($element->nodeName, $element->textContent);
10 $element->__construct('foo2', 'my new value');
11 var_dump($element->nodeName, $element->textContent);
18 $doc->documentElement->appendChild($element);
21 $element->__construct('foo3', 'my new new value');
22 $doc->documentElement->appendChild($element);
/PHP-8.2/ext/xmlreader/tests/
H A Dbug73053.xsd5 <xsd:element name="books" type="bks:BooksForm"/>
9 <xsd:element name="book"
18 <xsd:element name="author" type="xsd:string"/>
19 <xsd:element name="title" type="xsd:string"/>
20 <xsd:element name="genre" type="xsd:string"/>
21 <xsd:element name="price" type="xsd:float" />
22 <xsd:element name="pub_date" type="xsd:date" />
23 <xsd:element name="review" type="xsd:string"/>
/PHP-8.2/ext/spl/tests/
H A DarrayObject_clone_basic1.phpt7 $a['p1'] = 'new element added to a before clone';
11 $a['p2'] = 'new element added to a after clone';
12 $aa1['new.aa1'] = 'new element added to aa1';
13 $aa2['new.aa2'] = 'new element added to aa2';
23 string(35) "new element added to a before clone"
25 string(34) "new element added to a after clone"
35 string(24) "new element added to aa1"
46 string(24) "new element added to aa2"
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-8.2/ext/spl/
H A Dspl_observer.c209 element.obj = obj; in spl_object_storage_attach()
212 ZVAL_COPY(&element.inf, inf); in spl_object_storage_attach()
214 ZVAL_NULL(&element.inf); in spl_object_storage_attach()
249 spl_object_storage_attach(intern, element->obj, &element->inf); in spl_object_storage_addall()
349 ZVAL_OBJ(&obj, element->obj); in spl_object_storage_debug_info()
456 if (!element) { in spl_object_storage_has_dimension()
476 if (!element) { in spl_object_storage_read_dimension()
557 if (!element) { in PHP_METHOD()
751 ZVAL_COPY(&element->inf, inf); in PHP_METHOD()
799 ZVAL_OBJ(&obj, element->obj); in PHP_METHOD()
[all …]
/PHP-8.2/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-8.2/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;

Completed in 30 milliseconds

12345678910>>...26