Home
last modified time | relevance | path

Searched refs:elements (Results 1 – 25 of 360) sorted by last modified time

12345678910>>...15

/PHP-5.5/tests/lang/
H A DforeachLoop.002.phpt29 echo "\nPushing elements onto an unreferenced array.\n";
43 echo "\nPushing elements onto an unreferenced array, using &\$value.\n";
57 echo "\nPopping elements off an unreferenced array.\n";
65 echo "\nPopping elements off an unreferenced array, using &\$value.\n";
109 Pushing elements onto an unreferenced array.
125 Pushing elements onto an unreferenced array, using &$value.
160 Popping elements off an unreferenced array.
167 Popping elements off an unreferenced array, using &$value.
H A DforeachLoop.009.phpt8 echo "\nRemove elements from a referenced array during loop\n";
16 echo "\nRemove elements from a referenced array during loop, using &\$value\n";
24 echo "\nAdd elements to a referenced array during loop\n";
38 echo "\nAdd elements to a referenced array during loop, using &\$value\n";
55 Remove elements from a referenced array during loop
59 Remove elements from a referenced array during loop, using &$value
63 Add elements to a referenced array during loop
73 Add elements to a referenced array during loop, using &$value
H A DforeachLoop.010.phpt22 // This provokes a difference in behaviour when changing the number of elements in the array while
H A DforeachLoop.012.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";
42 echo "\n\n\nShift elements off start of an unreferenced array";
56 echo "\n\n\nAdding elements to the end of an unreferenced array";
63 echo "\n\n\nAdding elements to the start of an unreferenced array";
73 Popping elements off end of an unreferenced array
142 Shift elements off start of an unreferenced array
280 Adding elements to the end of an unreferenced array
[all …]
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 …]
/PHP-5.5/sapi/apache_hooks/
H A Dmod_php5.c59 void **elements; member
120 if (!stack->elements) { in sapi_stack_init_ex()
130 stack->elements = (void **) perealloc(stack->elements, in sapi_stack_push()
132 if (!stack->elements) { in sapi_stack_push()
136 stack->elements[stack->top] = (void *) element; in sapi_stack_push()
144 return stack->elements[--stack->top]; in sapi_stack_pop()
160 retval = apply_function(stack->elements[i], arg); in sapi_stack_apply_with_argument_all()
165 retval = apply_function(stack->elements[i], arg); in sapi_stack_apply_with_argument_all()
180 if ((ret = apply_function(stack->elements[i], arg)) == stopval) { in sapi_stack_apply_with_argument_stop_if_equals()
203 if ((ret = apply_function(stack->elements[i], arg)) > 0) { in sapi_stack_apply_with_argument_stop_if_http_error()
[all …]
/PHP-5.5/main/
H A Doutput.c183 if (OG(handlers).elements) { in php_output_deactivate()
/PHP-5.5/ext/wddx/
H A Dwddx.c99 void **elements; member
192 stack->elements = (void **) erealloc(stack->elements, in wddx_stack_push()
195 stack->elements[stack->top] = (void *) emalloc(size); in wddx_stack_push()
196 memcpy(stack->elements[stack->top], element, size); in wddx_stack_push()
206 *element = stack->elements[stack->top - 1]; in wddx_stack_top()
233 if (stack->elements) { in wddx_stack_destroy()
235 if (((st_entry *)stack->elements[i])->data) { in wddx_stack_destroy()
238 if (((st_entry *)stack->elements[i])->varname) { in wddx_stack_destroy()
239 efree(((st_entry *)stack->elements[i])->varname); in wddx_stack_destroy()
241 efree(stack->elements[i]); in wddx_stack_destroy()
[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/standard/tests/strings/
H A Dsubstr_replace_error.phpt29 … Testing substr_replace() function with start and length with a different number of elements --\n";
61 -- Testing substr_replace() function with start and length with a different number of elements --
63 Warning: substr_replace(): 'from' and 'len' should have the same number of elements in %s on line %d
H A Dstrip_tags_variation10.phpt30 //loop through the various elements of strings array to test strip_tags() functionality
H A Dstrip_tags_variation7.phpt35 //loop through the various elements of strings array to test strip_tags() functionality
H A Dstrip_tags_variation8.phpt31 //loop through the various elements of strings array to test strip_tags() functionality
H A Dstrip_tags_variation9.phpt29 //loop through the various elements of strings array to test strip_tags() functionality
H A Dstrip_tags_variation4.phpt37 //loop through the various elements of strings array to test strip_tags() functionality
H A Dstr_replace.phpt40 /* loop through to replace the matched elements in the array */
H A Dstr_replace_variation1.phpt20 /* loop through to replace the matched elements in the array */
H A Dstrcasecmp.phpt19 and comparing the elements with one and other */
H A Dstrcmp.phpt19 and comparing the elements with one and other */
H A Djoin_variation2.phpt6 * Description: Join array elements with a string
H A Djoin_variation3.phpt6 * Description: Join array elements with a string
H A Dimplode1.phpt7 array elements in the same order, with the glue string between each element.

Completed in 52 milliseconds

12345678910>>...15