Lines Matching refs:array
216 $array = ['a' => 'a1', 'b' => 'b1', 'c' => 'c1'];
217 $keys = array_keys($array);
220 [$keys, $array],
221 [$keys, new CoreTestIterator($array, $keys)],
222 [$keys, new CoreTestIteratorAggregate($array, $keys)],
223 [$keys, new CoreTestIteratorAggregateAggregate($array, $keys)],
239 $array = [1, 2, 'a' => 3, 5, 6, 7];
240 $keys = array_keys($array);
243 [true, 1, $array],
244 [true, '3', $array],
246 [true, 1, new CoreTestIterator($array, $keys, true, 1)],
247 [true, '3', new CoreTestIterator($array, $keys, true, 3)],
248 [true, '3', new CoreTestIteratorAggregateAggregate($array, $keys, true, 3)],
249 [false, 4, $array],
250 [false, 4, new CoreTestIterator($array, $keys, true)],
251 [false, 4, new CoreTestIteratorAggregateAggregate($array, $keys, true)],
297 … public function __construct(array $array, array $keys, $allowAccess = false, $maxPosition = false) argument
299 $this->iterator = new CoreTestIterator($array, $keys, $allowAccess, $maxPosition);
312 …public function __construct(array $array, array $keys, $allowValueAccess = false, $maxPosition = f… argument
314 … $this->iterator = new CoreTestIteratorAggregate($array, $keys, $allowValueAccess, $maxPosition);
326 private $array; variable in CoreTestIterator