Home
last modified time | relevance | path

Searched refs:element (Results 26 – 50 of 673) sorted by relevance

12345678910>>...27

/PHP-7.4/ext/standard/tests/array/
H A Darray_shift_variation8.phpt6 * Description: Pops an element off the beginning of the array
14 * it will return a *copy* of the first element of the array,
15 * and not the element itself, so your reference will be lost.
16 * The solution is to reference the first element before removing it with array_shift():
29 // solution: referencing the first element first:
30 echo "\n-- Reference first element before array_shift: --\n";
48 -- Reference first element before array_shift: --
H A Dend.phpt32 /* loop through $arrays to print the last element of each sub-array */
38 /* ensure that internal pointer is moved to last element */
53 // remove first element from array
54 echo "\n-- Remove first element from array --\n";
58 // remove last element from array, rewind and check end()
59 echo "\n-- Remove last element from array --\n";
65 // remove any element !first, !last, rewind and check end()
66 echo "\n-- Remove any element from array apart from first and last element --\n";
195 -- Remove first element from array --
198 -- Remove last element from array --
[all …]
H A Dend_64bit.phpt32 /* loop through $arrays to print the last element of each sub-array */
38 /* ensure that internal pointer is moved to last element */
53 // remove first element from array
54 echo "\n-- Remove first element from array --\n";
58 // remove last element from array, rewind and check end()
59 echo "\n-- Remove last element from array --\n";
65 // remove any element !first, !last, rewind and check end()
66 echo "\n-- Remove any element from array apart from first and last element --\n";
194 -- Remove first element from array --
197 -- Remove last element from array --
[all …]
H A Dbug51552.phpt5 function walk($element, $key, $p) {
7 echo "$element\n";
H A Darray_filter_basic.phpt19 * Parameters : $input - input array each element of which will be checked in function even()
20 * Return type : boolean - true if element is even and false otherwise
21 * Description : This function takes array as parameter and checks for each element of array.
22 * It returns true if the element is even number else returns false
/PHP-7.4/ext/soap/tests/schema/
H A Dschema035.phpt2 SOAP XML Schema 35: Nested complex types (element ref + anonymous type)
9 <element name="testType2">
12 <element name="int" type="int"/>
15 </element>
18 <element name="int" type="int"/>
19 <element ref="tns:testType2"/>
H A Dschema064.phpt15 <element name="dateTime" type="dateTime"/>
16 <element name="time" type="time"/>
17 <element name="date" type="date"/>
18 <element name="gYearMonth" type="gYearMonth"/>
19 <element name="gYear" type="gYear"/>
20 <element name="gMonthDay" type="gMonthDay"/>
21 <element name="gDay" type="gDay"/>
22 <element name="gMonth" type="gMonth"/>
H A Dschema072.phpt2 SOAP XML Schema 72: SOAP 1.1 Array (document style, element with inline type)
9 <element name="testElement">
17 </element>
19 test_schema($schema,'element="tns:testElement"',array(123,123.5),'document','literal');
H A Dschema034.phpt2 SOAP XML Schema 34: Nested complex types (element ref)
9 <element name="testType2" type="tns:testType2"/>
12 <element name="int" type="int"/>
17 <element name="int" type="int"/>
18 <element ref="tns:testType2"/>
H A Dschema036.phpt11 <element name="int" type="int"/>
12 <element name="testType2">
15 <element name="int" type="int"/>
18 </element>
/PHP-7.4/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.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 …]
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 …]
/PHP-7.4/TSRM/
H A DTSRM.h168 #define TSRMG(id, type, element) (TSRMG_BULK(id, type)->element) argument
170 #define TSRMG_FAST(offset, type, element) (TSRMG_FAST_BULK(offset, type)->element) argument
173 #define TSRMG_STATIC(id, type, element) (TSRMG_BULK_STATIC(id, type)->element) argument
175 #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element) argument
202 #define TSRMG_STATIC(id, type, element) argument
/PHP-7.4/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-7.4/ext/spl/tests/
H A DarrayObject_clone_basic2.phpt14 $ao1['new.ao1'] = 'new element added to ao1';
15 $ao2['new.ao2'] = 'new element added to ao2';
25 string(24) "new element added to ao1"
35 string(24) "new element added to ao1"
44 string(24) "new element added to ao2"
/PHP-7.4/ext/spl/
H A Dspl_dllist.c795 if (element != NULL) { in SPL_METHOD()
882 if (element != NULL) { in SPL_METHOD()
884 if (element->prev) { in SPL_METHOD()
885 element->prev->next = element->next; in SPL_METHOD()
888 if (element->next) { in SPL_METHOD()
889 element->next->prev = element->prev; in SPL_METHOD()
1007 if (element == NULL || Z_ISUNDEF(element->data)) { in spl_dllist_it_get_current_data()
1011 return &element->data; in spl_dllist_it_get_current_data()
1115 if (element == NULL || Z_ISUNDEF(element->data)) { in SPL_METHOD()
1327 elem->next = element; in SPL_METHOD()
[all …]
/PHP-7.4/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-7.4/ext/dom/tests/
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.
/PHP-7.4/Zend/
H A Dzend_stack.h33 ZEND_API int zend_stack_push(zend_stack *stack, const void *element);
41 ZEND_API void zend_stack_apply(zend_stack *stack, int type, int (*apply_function)(void *element));
42 …y_with_argument(zend_stack *stack, int type, int (*apply_function)(void *element, void *arg), void…
/PHP-7.4/ext/standard/tests/file/
H A Dbug40501.csv1 "this element contains the delimiter, and ends with an odd number of
2 backslashes (ex: 1)\",and it isn't the last element$
/PHP-7.4/ext/soap/tests/
H A Dbug68361.phpt22 <xsd:element name="id" type="xsd:int"/>
23 <xsd:element name="department" type="xsd:string"/>
24 <xsd:element name="name" type="xsd:string"/>
25 <xsd:element name="age" type="xsd:int"/>
28 <xsd:element name="Employee" nillable="true" type="ns:Employee"/>
31 <xsd:element name="name" type="xsd:string"/>
32 <xsd:element name="age" type="xsd:int"/>
35 <xsd:element name="User" nillable="true" type="ns:User"/>
48 <part name="userReturn" element="ns:User"/>
/PHP-7.4/Zend/tests/generators/
H A Dbug66041.phpt11 $fixedArray[0] = 'the element';
17 string(11) "the element"
/PHP-7.4/Zend/tests/
H A Derrmsg_042.phpt2 errmsg: key element cannot be a reference
13 Fatal error: Key element cannot be a reference in %s on line %d

Completed in 34 milliseconds

12345678910>>...27