Home
last modified time | relevance | path

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

1234567891011

/php-src/ext/standard/tests/array/range/
H A Drange_inputs_string_basic.phpt9 echo "-- An array of elements from low to high --\n";
11 echo "\n-- An array of elements from high to low --\n";
24 -- An array of elements from low to high --
80 -- An array of elements from high to low --
/php-src/ext/random/tests/03_randomizer/methods/
H A DpickArrayKeys_error.phpt47 Random\Randomizer::pickArrayKeys(): Argument #2 ($num) must be between 1 and the number of elements
48 Random\Randomizer::pickArrayKeys(): Argument #2 ($num) must be between 1 and the number of elements
49 Random\Randomizer::pickArrayKeys(): Argument #2 ($num) must be between 1 and the number of elements
/php-src/ext/dom/tests/
H A Dbug47430.phpt12 $elements = $dom->getElementsByTagName('i');
13 foreach ($elements as $i) {
/php-src/ext/standard/tests/array/
H A Darray_rand_variation5.phpt67 array_rand(): Argument #2 ($num) must be between 1 and the number of elements in argument #1 ($arra…
70 array_rand(): Argument #2 ($num) must be between 1 and the number of elements in argument #1 ($arra…
73 array_rand(): Argument #2 ($num) must be between 1 and the number of elements in argument #1 ($arra…
76 array_rand(): Argument #2 ($num) must be between 1 and the number of elements in argument #1 ($arra…
H A Dusort_variation9.phpt24 // different variables which are used as elements of $array_arg
30 // array_args an array containing elements with reference variables
H A Darray_chunk_variation6.phpt7 * 1. array without elements
17 // array without elements
H A Duasort_object2.phpt75 // Testing uasort with StaticClass objects as elements of 'array_arg'
86 // Testing uasort with EmptyClass objects as elements of 'array_arg'
97 // Testing uasort with ChildClass objects as elements of 'array_arg'
H A Dusort_object2.phpt60 // Testing uasort with StaticClass objects as elements of 'array_arg'
71 // Testing uasort with EmptyClass objects as elements of 'array_arg'
82 // Testing uasort with ChildClass objects as elements of 'array_arg'
H A Dbug70250.phpt2 Bug #70250 (extract() turns array elements to references)
/php-src/tests/lang/
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";
72 Popping elements off end of an unreferenced array
141 Shift elements off start of an unreferenced array
279 Adding elements to the end of an unreferenced array
[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
143 Shift elements off start of a referenced array
281 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";
74 Popping elements off end of a referenced array, using &$value
147 Shift elements off start of a referenced array, using &$value
285 Adding elements to the end of a referenced array, using &$value
[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.";
72 Popping elements off end of an unreferenced array, using &$value.
145 Shift elements off start of an unreferenced array, using &$value.
283 Adding elements to the end of an unreferenced array, using &$value.
[all …]
H A Dempty_variation.phpt2 empty() on array elements
/php-src/ext/standard/tests/file/
H A Dfstat_variation8.phpt25 echo "PASSED: all elements are the same\n";
31 PASSED: all elements are the same
/php-src/Zend/tests/
H A Dbug78010.phpt20 $obj = [new stdClass, new stdClass]; //This must have at least 2 elements
26 for ($i = 0; $i < 2; ++$i) { //This must run >=2 (increasing the number of elements in the array *2…
H A Dget_defined_functions_basic.phpt33 echo "TEST FAILED: missing elements from 'internal' array\n";
45 echo "TEST FAILED: missing elements from 'user' array\n";
H A Darray_add_indirect.phpt2 Array addition should not add INDIRECT elements
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-src/.github/
H A Dlsan-suppressions.txt1 leak:acommon::DictInfoList::elements
/php-src/ext/standard/
H A Dvar_unserializer.re477 while (elements-- > 0) {
585 while (elements-- > 0) {
791 if (elements >= HT_MAX_SIZE) {
795 array_init_size(&ary, elements);
1092 zend_long elements = parse_iv(start + 2);
1097 if (elements < 0 || elements >= HT_MAX_SIZE || IS_FAKE_ELEM_COUNT(elements, max - YYCURSOR)) {
1101 if (elements) {
1102 array_init_size(rval, elements);
1126 zend_long elements;
1299 elements = parse_iv2(*p + 2, p);
[all …]
/php-src/ext/spl/tests/
H A Dfixedarray_004.phpt2 SPL: FixedArray: adding new elements
/php-src/ext/dba/tests/
H A Ddba_array_keys_errors.phpt52 Error: dba_insert(): Argument #1 ($key) must have exactly two elements: "key" and "name"
53 Error: dba_insert(): Argument #1 ($key) must have exactly two elements: "key" and "name"
/php-src/ext/opcache/tests/jit/
H A Darray_elem.phpt2 Refcount inference when adding array elements

Completed in 91 milliseconds

1234567891011