Home
last modified time | relevance | path

Searched refs:element (Results 151 – 175 of 922) sorted by relevance

12345678910>>...37

/php-src/Zend/tests/
H A Dassign_ref_error_var_handling.phpt27 Cannot add element to the array as the next element is already occupied
29 Cannot add element to the array as the next element is already occupied
/php-src/ext/standard/tests/array/
H A Darray_shift_variation8.phpt9 * it will return a *copy* of the first element of the array,
10 * and not the element itself, so your reference will be lost.
11 * The solution is to reference the first element before removing it with array_shift():
24 // solution: referencing the first element first:
25 echo "\n-- Reference first element before array_shift: --\n";
43 -- Reference first element before array_shift: --
H A Darray_fill_variation6.phpt2 array_fill(): last element
19 Cannot add element to the array as the next element is already occupied
/php-src/ext/dom/tests/modern/spec/
H A DElement_getAttribute.phpt30 $element = $dom->createElementNS("urn:a", "a:element");
32 $element->setAttributeNode($attr);
34 var_dump($element->getAttribute("Prefix:local2"));
35 var_dump($element->getAttribute("Prefix:LOCAL2"));
36 var_dump($element->getAttribute("prefix:local2"));
H A DElement_getAttributeNode.phpt30 $element = $dom->createElementNS("urn:a", "a:element");
32 $element->setAttributeNode($attr);
34 var_dump($element->getAttributeNode("Prefix:local2")->textContent);
35 var_dump($element->getAttributeNode("Prefix:LOCAL2"));
36 var_dump($element->getAttributeNode("prefix:local2"));
H A DElement_hasAttribute.phpt30 $element = $dom->createElementNS("urn:a", "a:element");
32 $element->setAttributeNode($attr);
34 var_dump($element->hasAttribute("Prefix:local2"));
35 var_dump($element->hasAttribute("Prefix:LOCAL2"));
36 var_dump($element->hasAttribute("prefix:local2"));
/php-src/ext/dom/tests/modern/xml/
H A DElement_innerHTML_reading_errors.phpt12 $element = $dom->createElement("container");
13 return $element;
73 $element = $container->appendChild(createContainer());
74 $element->setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:x", "http://www.w3.org/2000/xmlns/…
78 $element = $container->appendChild(createContainer());
79 $element->setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:x", "");
83 $element = $container->appendChild(createContainer());
84 $element->setAttribute("with:colon", "value");
88 $element = $container->appendChild(createContainer());
89 $element->setAttribute("xmlns", "value");
/php-src/tests/lang/
H A DforeachLoop.012.phpt73 ---( Array with 1 element(s): )---
85 ---( Array with 2 element(s): )---
100 ---( Array with 3 element(s): )---
118 ---( Array with 4 element(s): )---
142 ---( Array with 1 element(s): )---
154 ---( Array with 2 element(s): )---
169 ---( Array with 3 element(s): )---
187 ---( Array with 4 element(s): )---
211 ---( Array with 1 element(s): )---
223 ---( Array with 2 element(s): )---
[all …]
H A DforeachLoop.014.phpt75 ---( Array with 1 element(s): )---
87 ---( Array with 2 element(s): )---
102 ---( Array with 3 element(s): )---
120 ---( Array with 4 element(s): )---
144 ---( Array with 1 element(s): )---
156 ---( Array with 2 element(s): )---
171 ---( Array with 3 element(s): )---
189 ---( Array with 4 element(s): )---
213 ---( Array with 1 element(s): )---
225 ---( Array with 2 element(s): )---
[all …]
H A DforeachLoop.015.phpt75 ---( Array with 1 element(s): )---
87 ---( Array with 2 element(s): )---
103 ---( Array with 3 element(s): )---
122 ---( Array with 4 element(s): )---
148 ---( Array with 1 element(s): )---
160 ---( Array with 2 element(s): )---
175 ---( Array with 3 element(s): )---
193 ---( Array with 4 element(s): )---
217 ---( Array with 1 element(s): )---
229 ---( Array with 2 element(s): )---
[all …]
H A DforeachLoop.013.phpt73 ---( Array with 1 element(s): )---
85 ---( Array with 2 element(s): )---
101 ---( Array with 3 element(s): )---
120 ---( Array with 4 element(s): )---
146 ---( Array with 1 element(s): )---
158 ---( Array with 2 element(s): )---
173 ---( Array with 3 element(s): )---
191 ---( Array with 4 element(s): )---
215 ---( Array with 1 element(s): )---
227 ---( Array with 2 element(s): )---
[all …]
/php-src/ext/soap/tests/
H A Dgh15711.wsdl6 <xsd:element name="base64" type="xsd:base64Binary"/>
7 <xsd:element name="string" type="xsd:string"/>
8 <xsd:element name="any" type="xsd:any"/>
9 <xsd:element name="hexbin" type="xsd:hexBinary"/>
10 <xsd:element name="nmtokens" type="xsd:NMTOKENS"/>
11 <xsd:element name="integer" type="xsd:integer"/>
12 <xsd:element name="short" type="xsd:short"/>
/php-src/ext/soap/tests/schema/
H A Dschema064.phpt18 <element name="dateTime" type="dateTime"/>
19 <element name="time" type="time"/>
20 <element name="date" type="date"/>
21 <element name="gYearMonth" type="gYearMonth"/>
22 <element name="gYear" type="gYear"/>
23 <element name="gMonthDay" type="gMonthDay"/>
24 <element name="gDay" type="gDay"/>
25 <element name="gMonth" type="gMonth"/>
H A Dschema072.phpt2 SOAP XML Schema 72: SOAP 1.1 Array (document style, element with inline type)
10 <element name="testElement">
18 </element>
20 test_schema($schema,'element="tns:testElement"',array(123,123.5),'document','literal');
/php-src/ext/dom/tests/
H A Dparentnode_childnode_too_long_text.phpt37 $element = $dom->appendChild($dom->createElement('root'));
40 $element->append('x', $str);
45 $element->prepend('x', $str);
50 $element->after('x', $str);
55 $element->before('x', $str);
60 $element->replaceWith('x', $str);
65 $element->replaceChildren('x', $str);
70 var_dump($element->childNodes->count());
H A Dcanonicalization.phpt24 /* inclusive/without comments first child element of doc element is context. */
27 /* exclusive/without comments first child element of doc element is context. */
30 /* inclusive/with comments first child element of doc element is context. */
33 /* exclusive/with comments first child element of doc element is context. */
39 /* exclusive/without comments first child element of doc element is context.
47 /* exclusive/without comments first child element of doc element is context.
H A DDOM4_DOMNode_ElementSiblings.phpt12 $element = $dom->documentElement;
13 print_node($element->firstElementChild->nextElementSibling);
14 print_node($element->lastElementChild->previousElementSibling);
/php-src/TSRM/
H A DTSRM.h169 #define TSRMG(id, type, element) (TSRMG_BULK(id, type)->element) argument
171 #define TSRMG_FAST(offset, type, element) (TSRMG_FAST_BULK(offset, type)->element) argument
174 #define TSRMG_STATIC(id, type, element) (TSRMG_BULK_STATIC(id, type)->element) argument
176 #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element) argument
194 #define TSRMG_STATIC(id, type, element) argument
/php-src/ext/soap/tests/bugs/
H A Dbug40609.wsdl4 <xs:element name="getPrice">
7 <xs:element name="symbol" nillable="true" type="xs:string" />
10 </xs:element>
11 <xs:element name="getPriceResponse">
14 <xs:element name="return" nillable="true" type="xs:double" />
17 </xs:element>
18 <xs:element name="update">
21 <xs:element name="symbol" nillable="true" type="xs:any" />
22 <xs:element name="price" nillable="true" type="xs:any" />
25 </xs:element>
[all …]
/php-src/ext/dom/tests/bug79701/
H A Dunconnected.phpt8 $element = $dom->createElement('foo');
9 $element->setAttribute('id', 'test');
11 $dom->append($element);
H A Dnode.phpt8 $element = $dom->createElement('foo');
9 $dom->append($element);
13 $element->setAttributeNode($attr);
/php-src/ext/simplexml/tests/
H A Dbug27010.phpt19 foreach ($sxe as $element_name => $element) {
20 print "$element_name is $element->name\n";
23 foreach ($sxe->children('http://www.example.com/hot') as $element_name => $element) {
24 print "$element_name is $element->name\n";
/php-src/ext/spl/tests/
H A DarrayObject_clone_basic2.phpt16 $ao1['new.ao1'] = 'new element added to ao1';
17 $ao2['new.ao2'] = 'new element added to ao2';
27 string(24) "new element added to ao1"
37 string(24) "new element added to ao1"
46 string(24) "new element added to ao2"
/php-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_encoding_edge_case_01.phpt11 $element = $dom->createElement("container");
12 $dom->append($element);
13 $element->append(str_repeat("A", 4096 - 2 - strlen("<container>")) . "\xf0\x90\x8d\x88AA");
H A DHTMLDocument_encoding_edge_case_04.phpt10 $element = $dom->createElement("container");
11 $dom->append($element);
13 $element->append(str_repeat("A", 4096 - 2 - strlen("<container>")) . "\xff\xff\xff");

Completed in 32 milliseconds

12345678910>>...37