Home
last modified time | relevance | path

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

12345678910>>...27

/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_watch.c473 zend_hash_add_ptr(&watch->elements, element->str, element);
479 return element;
485 element = phpdbg_add_watch_element(&watch, element);
487 return element;
506 element = next;
614 zend_hash_add_ptr(&hti->watches, element->name_in_parent, element);
759 efree(element);
810 …memcpy(&element->backup, &element->watch->backup, /* element->watch->size */ sizeof(element->backu…
875 zend_hash_del(&element->parent->child_container, element->str);
1252 element = element->child;
[all …]
/PHP-7.4/Zend/
H A Dzend_llist.c166 element=l->head; in zend_llist_apply_with_del()
167 while (element) { in zend_llist_apply_with_del()
168 next = element->next; in zend_llist_apply_with_del()
172 element = next; in zend_llist_apply_with_del()
181 for (element=l->head; element; element=element->next) { in zend_llist_apply()
182 func(element->data); in zend_llist_apply()
209 for (element=l->head; element; element=element->next) { in zend_llist_sort()
210 *ptr++ = element; in zend_llist_sort()
233 for (element=l->head; element; element=element->next) { in zend_llist_apply_with_argument()
234 func(element->data, arg); in zend_llist_apply_with_argument()
[all …]
/PHP-7.4/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];
144 ["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]);
135 ["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]);
118 ["element":"ArrayReferenceProxy":private]=>
156 ["element":"ArrayReferenceProxy":private]=>
/PHP-7.4/ext/dom/tests/
H A Dbug81433.phpt11 $element = $dom->createElement('test', 'root');
13 $dom->appendChild($element);
15 $element->setAttribute("id", 123);
16 $element->setIdAttribute("id", true);
18 $node = $element->getAttributeNode("id");
21 $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 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.phpt16 <element name="apple">
17 <element name="pear">
19 </element>
20 </element>
40 Warning: DOMDocument::relaxNGValidateSource(): Did not expect element pear there in %s on line %d
H A DDOMDocument_relaxNGValidateSource_basic.phpt16 <element name="apple">
17 <element name="pear">
19 </element>
20 </element>
/PHP-7.4/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-7.4/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.phpt18 $innerArrayObject['new.iAO'] = 'new element added $innerArrayObject';
19 $outerArrayObject['new.oAO'] = 'new element added to $outerArrayObject';
20 $clonedOuterArrayObject['new.coAO'] = 'new element added to $clonedOuterArrayObject';
33 string(35) "new element added $innerArrayObject"
35 string(38) "new element added to $outerArrayObject"
47 string(35) "new element added $innerArrayObject"
49 string(38) "new element added to $outerArrayObject"
64 string(35) "new element added $innerArrayObject"
66 string(38) "new element added to $outerArrayObject"
78 string(44) "new element added to $clonedOuterArrayObject"
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);
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_beginiteration_basic.phpt12 foreach ($iterator as $element) {
13 var_dump($element);
23 foreach ($iterator as $element) {
24 var_dump($element);
H A Drecursiveiteratoriterator_enditeration_basic.phpt12 foreach ($iterator as $element) {
13 var_dump($element);
22 foreach ($iterator as $element) {
23 var_dump($element);
H A Dbug45622.phpt10 $ao = new C(array('p'=>'array element'));
17 echo "\n--> Remove the real property and access the array element:\n";
22 echo "\n--> Remove the array element and try access again:\n";
37 --> Remove the real property and access the array element:
39 string(13) "array element"
41 --> Remove the array element and try access again:
/PHP-7.4/Zend/tests/array_unpack/
H A Dalready_occupied.phpt19 Warning: Cannot add element to the array as the next element is already occupied in %s on line %d
27 Warning: Cannot add element to the array as the next element is already occupied in %s on line %d
35 Warning: Cannot add element to the array as the next element is already occupied in %s on line %d
/PHP-7.4/Zend/tests/
H A Darray_literal_next_element_error.phpt2 Next free element may overflow in array literals
15 Warning: Cannot add element to the array as the next element is already occupied in %s on line %d
21 Warning: Cannot add element to the array as the next element is already occupied in %s on line %d
H A Dbug32674.phpt21 $element = current($this->_elements);
22 return $element;
26 $element = next($this->_elements);
27 return $element;
32 $element = key($this->_elements);
33 return $element;
/PHP-7.4/ext/spl/
H A Dspl_observer.c186 ZVAL_COPY(&element.obj, obj); in spl_object_storage_attach()
188 ZVAL_COPY(&element.inf, inf); in spl_object_storage_attach()
190 ZVAL_NULL(&element.inf); in spl_object_storage_attach()
222 spl_object_storage_attach(intern, this, &element->obj, &element->inf); in spl_object_storage_addall()
458 if (!element) { in SPL_METHOD()
461 zval *value = &element->inf; in SPL_METHOD()
671 zval_ptr_dtor(&element->inf); in SPL_METHOD()
1120 it = &element->obj; in SPL_METHOD()
1143 it = &element->obj; in SPL_METHOD()
1173 it = &element->obj; in SPL_METHOD()
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Dreset_variation2.phpt2 Test reset() function : usage variations - unset first element
6 * Description: Set array argument's internal pointer to the first element and return it
11 * Unset first element of an array and test behaviour of reset()
21 echo "\n-- Unset First element in array and check reset() --\n";
32 -- Unset First element in array and check reset() --

Completed in 58 milliseconds

12345678910>>...27