Home
last modified time | relevance | path

Searched refs:elements (Results 26 – 50 of 360) sorted by relevance

12345678910>>...15

/PHP-5.5/tests/lang/
H A DforeachLoop.013.phpt8 function withRefValue($elements, $transform) {
9 echo "\n---( Array with $elements element(s): )---\n";
11 for ($i=0; $i<$elements; $i++) {
35 echo "\nPopping elements off end of an unreferenced array, using &\$value.";
42 echo "\n\n\nShift elements off start of an unreferenced array, using &\$value.";
56 echo "\n\n\nAdding elements to the end of an unreferenced array, using &\$value.";
63 echo "\n\n\nAdding elements to the start of an unreferenced array, using &\$value.";
73 Popping elements off end of an unreferenced array, using &$value.
143 Shift elements off start of an unreferenced array, using &$value.
281 Adding elements to the end of an unreferenced array, using &$value.
[all …]
H A DforeachLoop.014.phpt8 function withRefValue($elements, $transform) {
9 echo "\n---( Array with $elements element(s): )---\n";
11 for ($i=0; $i<$elements; $i++) {
37 echo "\nPopping elements off end of a referenced array";
44 echo "\n\n\nShift elements off start of a referenced array";
58 echo "\n\n\nAdding elements to the end of a referenced array";
65 echo "\n\n\nAdding elements to the start of a referenced array";
74 Popping elements off end of a referenced array
144 Shift elements off start of a referenced array
282 Adding elements to the end of a referenced array
[all …]
H A DforeachLoop.015.phpt8 function withRefValue($elements, $transform) {
9 echo "\n---( Array with $elements element(s): )---\n";
11 for ($i=0; $i<$elements; $i++) {
37 echo "\nPopping elements off end of a referenced array, using &\$value";
44 echo "\n\n\nShift elements off start of a referenced array, using &\$value";
58 echo "\n\n\nAdding elements to the end of a referenced array, using &\$value";
65 echo "\n\n\nAdding elements to the start of a referenced array, using &\$value";
75 Popping elements off end of a referenced array, using &$value
145 Shift elements off start of a referenced array, using &$value
283 Adding elements to the end of a referenced array, using &$value
[all …]
H A Dempty_variation.phpt2 empty() on array elements
/PHP-5.5/ext/standard/tests/array/
H A Darray_filter_error.phpt6 * Description: Filters elements from the array via the callback.
19 * Parameters : $input - array for which each elements should be checked into the function
21 * Description : Function takes array as input and checks for its each elements.
H A Darray_fill_error.phpt6 …* Description: Create an array containing num elements starting with index start_key each initiali…
56 Warning: array_fill(): Number of elements must be positive in %s on line %d
59 Warning: array_fill(): Number of elements must be positive in %s on line %d
H A Darray_combine_basic.phpt6 * Description: Creates an array by using the elements of the first parameter as keys
7 * and the elements of the second as the corresponding values
H A Dusort_variation9.phpt29 // different variables which are used as elements of $array_arg
35 // array_args an array containing elements with reference variables
H A Darray_combine_variation6.phpt6 * Description: Creates an array by using the elements of the first parameter as keys
7 * and the elements of the second as the corresponding values
H A Darray_merge_recursive_variation7.phpt6 * Description: Recursively merges elements from passed arrays into one array
22 // input array containing elements as reference variables
H A Darray_filter_variation6.phpt6 * Description: Filters elements from the array via the callback.
11 * Passing 'input' array which contains elements as reference to other data
H A Darray_walk_variation4.phpt11 * Testing array_walk() with an array having subarrays as elements
20 * Description : It prints the count of an array elements, passed as argument
H A Dusort_object2.phpt65 // Testing uasort with StaticClass objects as elements of 'array_arg'
76 // Testing uasort with EmptyClass objects as elements of 'array_arg'
87 // Testing uasort with ChildClass objects as elements of 'array_arg'
H A Darray_walk_recursive_variation4.phpt11 * Testing array_walk_recursive() with an array having subarrays as elements
20 * Description : It prints the count of an array elements, passed as argument
H A Dbug23788.phpt2 Bug #23788 (*_replace() clobbers referenced array elements)
/PHP-5.5/ext/soap/
H A Dphp_schema.c360 if (cur_type->elements == NULL) { in schema_simpleType()
469 if (cur_type->elements == NULL) { in schema_list()
1545 if (sdl->elements == NULL) { in schema_element()
1549 addHash = sdl->elements; in schema_element()
1558 addHash = cur_type->elements; in schema_element()
2262 if (type->elements) { in schema_type_fixup()
2309 if (sdl->elements) { in schema_pass2()
2400 if (type->elements) { in delete_type()
2402 efree(type->elements); in delete_type()
2447 if (type->elements) { in delete_type_persistent()
[all …]
H A Dphp_sdl.c74 if (sdl->elements) { in get_element()
1371 elements[0] = NULL; in sdl_deserialize_type()
1379 elements[i] = t; in sdl_deserialize_type()
1404 efree(elements); in sdl_deserialize_type()
1973 if (type->elements) { in sdl_serialize_type()
2179 if (sdl->elements) { in add_sdl_to_cache()
2239 if (sdl->elements) { in add_sdl_to_cache()
3013 if (sdl->elements) { in make_persistent_sdl()
3162 if (tmp->elements) { in delete_psdl()
3164 free(tmp->elements); in delete_psdl()
[all …]
/PHP-5.5/ext/standard/
H A Dvar_unserializer.c310 while (elements-- > 0) { in process_nested_data()
360 if (elements && *(*p-1) != ';' && *(*p-1) != '}') { in process_nested_data()
407 long elements; in object_common1() local
409 elements = parse_iv2((*p) + 2, p); in object_common1()
426 return elements; in object_common1()
635 long elements; in php_var_unserialize() local
770 elements = object_common1(UNSERIALIZE_PASSTHRU, ce); in php_var_unserialize()
777 return object_common2(UNSERIALIZE_PASSTHRU, elements); in php_var_unserialize()
836 long elements = parse_iv(start + 2); in php_var_unserialize() local
841 if (elements < 0) { in php_var_unserialize()
[all …]
H A Dvar_unserializer.re314 while (elements-- > 0) {
364 if (elements && *(*p-1) != ';' && *(*p-1) != '}') {
411 long elements;
413 elements = parse_iv2((*p) + 2, p);
430 return elements;
663 long elements = parse_iv(start + 2);
668 if (elements < 0) {
674 array_init_size(*rval, elements);
694 long elements;
829 elements = object_common1(UNSERIALIZE_PASSTHRU, ce);
[all …]
/PHP-5.5/ext/spl/examples/
H A Dkeyfilter.inc17 * Instances of this class act as a filter around iterators whose elements
19 * and the instance will only return elements which match the given regular
/PHP-5.5/Zend/tests/
H A Dget_defined_functions_basic.phpt38 echo "TEST FAILED: missing elements from 'internal' array\n";
50 echo "TEST FAILED: missing elements from 'user' array\n";
H A Dbug35163.phpt2 Bug #35163 (Array elements can lose references)
H A Dbug35163_2.phpt2 Bug #35163.2 (Array elements can lose references)
/PHP-5.5/ext/oci8/
H A Doci8_statement.c908 ZVAL_LONG(*entry, ((ub4 *)(bind->array.elements))[i]); in php_oci_bind_post_exec()
919 ZVAL_DOUBLE(*entry, ((double *)(bind->array.elements))[i]); in php_oci_bind_post_exec()
1481 (dvoid *) bindp->array.elements, in php_oci_bind_array_by_name()
1565 ((text *)bind->array.elements)[i*maxlength] = '\0'; in php_oci_bind_array_helper_string()
1600 ((ub4 *)bind->array.elements)[i] = (ub4) Z_LVAL_PP(entry); in php_oci_bind_array_helper_number()
1603 ((ub4 *)bind->array.elements)[i] = 0; in php_oci_bind_array_helper_number()
1641 ((double *)bind->array.elements)[i] = 0; in php_oci_bind_array_helper_double()
1683 efree(bind->array.elements); in php_oci_bind_array_helper_date()
1690 ((OCIDate *)bind->array.elements)[i] = oci_date; in php_oci_bind_array_helper_date()
1698 efree(bind->array.elements); in php_oci_bind_array_helper_date()
[all …]
/PHP-5.5/ext/spl/tests/
H A Dfixedarray_004.phpt2 SPL: FixedArray: adding new elements

Completed in 45 milliseconds

12345678910>>...15