/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 471 zend_hash_add_ptr(&watch->elements, element->str, element); 477 return element; 483 element = phpdbg_add_watch_element(&watch, element); 485 return element; 504 element = next; 612 zend_hash_add_ptr(&hti->watches, element->name_in_parent, element); 757 efree(element); 808 …memcpy(&element->backup, &element->watch->backup, /* element->watch->size */ sizeof(element->backu… 873 zend_hash_del(&element->parent->child_container, element->str); 1250 element = element->child; [all …]
|
/PHP-8.0/ext/dom/tests/ |
H A D | DOM4_ParentNode_prepend.phpt | 14 $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 D | DOM4_ParentNode_append.phpt | 14 $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 D | bug81433.phpt | 11 $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 D | bug70001.phpt | 7 $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 D | DOM4_ParentNode.phpt | 17 $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 D | DOM4_DOMNode_replaceWith.phpt | 12 $element = $dom->documentElement->firstChild; 13 $element->replaceWith( 14 $dom->createElement('element', 'content'), 21 <element> 23 </element>
|
H A D | DOMElement_hasAttributes_basic.phpt | 19 $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 D | DOM4_DOMNode_remove.phpt | 12 $element = $dom->documentElement; 13 print_node($element->firstChild); 14 $returnValue = $element->firstChild->remove(); 15 print_node($element->firstChild);
|
H A D | DOMDocument_relaxNGValidateSource_error1.phpt | 16 <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
|
/PHP-8.0/Zend/ |
H A D | zend_llist.c | 166 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-8.0/tests/classes/ |
H A D | array_access_009.phpt | 10 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 D | array_access_011.phpt | 12 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 D | array_access_010.phpt | 11 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-8.0/ext/xmlreader/tests/ |
H A D | bug73053.xsd | 5 <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.0/ext/spl/tests/ |
H A D | arrayObject_clone_basic1.phpt | 7 $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 D | arrayObject_exchangeArray_basic1.phpt | 10 $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 D | arrayObject_clone_basic3.phpt | 18 $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 D | recursiveiteratoriterator_nextelement_basic.phpt | 2 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 D | arrayObject_exchangeArray_basic2.phpt | 19 $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 D | arrayObject_setFlags_basic1.phpt | 19 $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:
|
/PHP-8.0/Zend/tests/array_unpack/ |
H A D | already_occupied.phpt | 31 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.0/ext/spl/ |
H A D | spl_observer.c | 147 ZVAL_COPY(&element.obj, obj); in spl_object_storage_attach() 149 ZVAL_COPY(&element.inf, inf); in spl_object_storage_attach() 151 ZVAL_NULL(&element.inf); in spl_object_storage_attach() 183 spl_object_storage_attach(intern, &element->obj, &element->inf); in spl_object_storage_addall() 406 if (!element) { in PHP_METHOD() 409 zval *value = &element->inf; in PHP_METHOD() 608 zval_ptr_dtor(&element->inf); in PHP_METHOD() 1031 it = &element->obj; in PHP_METHOD() 1053 it = &element->obj; in PHP_METHOD() 1082 it = &element->obj; in PHP_METHOD() [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | array_literal_next_element_error.phpt | 2 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 D | bug32674.phpt | 21 $element = current($this->_elements); 22 return $element; 26 $element = next($this->_elements); 27 return $element; 32 $element = key($this->_elements); 33 return $element;
|