Home
last modified time | relevance | path

Searched refs:it (Results 26 – 50 of 1124) sorted by relevance

12345678910>>...45

/PHP-7.2/ext/zlib/tests/
H A Dreadgzfile_variation9.phpt29 all I know is that you can realize it
31 as it turns around
32 and I know that it descends down on me
36 all I know is that you can realize it
38 as it turns around
39 and I know that it descends down on me
43 all I know is that you can realize it
45 as it turns around
46 and I know that it descends down on me
50 all I know is that you can realize it
[all …]
H A Dgzfile_variation9.phpt35 string(38) "all I know is that you can realize it
41 string(19) "as it turns around
44 string(39) "and I know that it descends down on me
55 string(38) "all I know is that you can realize it
61 string(19) "as it turns around
64 string(39) "and I know that it descends down on me
75 string(38) "all I know is that you can realize it
81 string(19) "as it turns around
84 string(39) "and I know that it descends down on me
95 string(38) "all I know is that you can realize it
[all …]
H A Dgzfile_variation12.phpt36 string(38) "all I know is that you can realize it
42 string(19) "as it turns around
45 string(39) "and I know that it descends down on me
56 string(38) "all I know is that you can realize it
62 string(19) "as it turns around
65 string(39) "and I know that it descends down on me
76 string(38) "all I know is that you can realize it
82 string(19) "as it turns around
85 string(39) "and I know that it descends down on me
96 string(38) "all I know is that you can realize it
[all …]
H A Dreadgzfile_variation10.phpt35 all I know is that you can realize it
37 as it turns around
38 and I know that it descends down on me
42 all I know is that you can realize it
44 as it turns around
45 and I know that it descends down on me
55 all I know is that you can realize it
57 as it turns around
58 and I know that it descends down on me
62 all I know is that you can realize it
[all …]
H A Dgzfile_variation10.phpt41 string(38) "all I know is that you can realize it
47 string(19) "as it turns around
50 string(39) "and I know that it descends down on me
61 string(38) "all I know is that you can realize it
67 string(19) "as it turns around
70 string(39) "and I know that it descends down on me
87 string(38) "all I know is that you can realize it
93 string(19) "as it turns around
96 string(39) "and I know that it descends down on me
107 string(38) "all I know is that you can realize it
[all …]
/PHP-7.2/ext/spl/tests/
H A Diterator_026.phpt8 $it = new RecursiveArrayIterator($ar);
9 $it = new RecursiveCachingIterator($it);
10 $it = new RecursiveIteratorIterator($it);
12 foreach($it as $k=>$v)
15 echo "hasNext: " . ($it->getInnerIterator()->hasNext() ? "yes" : "no") . "\n";
H A Darray_013.phpt14 $it = new ArrayIterator($a);
16 foreach($it as $key => $val)
23 $it->append('three');
24 $it->append('four');
26 foreach(new NoRewindIterator($it) as $key => $val)
43 $it = new ArrayIterator($o);
45 foreach($it as $key => $val)
52 $it->append('three');
53 $it->append('four');
55 foreach(new NoRewindIterator($it) as $key => $val)
H A Drecursive_tree_iterator_004.phpt27 $it = new RecursiveTreeIterator(new RecursiveArrayIterator($ary));
28 foreach($it as $k => $v) {
29 echo '[' . $it->key() . '] => ' . $it->getPrefix() . $it->getEntry() . $it->getPostfix() . "\n";
H A Diterator_013.phpt8 $it = new AppendIterator;
10 foreach($it as $key=>$val)
17 $it->append(new ArrayIterator(array(0 => 'A', 1 => 'B')));
19 foreach($it as $key=>$val)
26 foreach($it as $key=>$val)
33 $it->append(new ArrayIterator(array(2 => 'C', 3 => 'D')));
35 foreach(new NoRewindIterator($it) as $key=>$val)
42 foreach($it as $key=>$val)
H A Diterator_020.phpt8 $it = new AppendIterator;
10 foreach($it as $key=>$val)
17 $it->append(new ArrayIterator(array(0 => 'A', 1 => 'B')));
19 foreach($it as $key=>$val)
26 foreach($it as $key=>$val)
33 $it->append(new ArrayIterator(array(2 => 'C', 3 => 'D')));
35 foreach(new NoRewindIterator($it) as $key=>$val)
42 foreach($it as $key=>$val)
H A Dspl_004.phpt33 $it = new RecursiveArrayIterator(array(1, array(21, 22), 3));
35 var_dump(iterator_apply($it, 'test', NULL));
38 var_dump(iterator_apply($it, 'test_arg', array($it)));
41 $it = new RecursiveIteratorIterator($it);
42 var_dump(iterator_apply($it, 'test'));
46 var_dump(iterator_apply($it, 'test', 1));
50 var_dump(iterator_apply($it, 'non_existing_function'));
51 var_dump(iterator_apply($it, 'non_existing_function', NULL, 2));
H A Diterator_012.phpt8 $it = new NoRewindIterator(new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C')));
10 echo $it->key() . '=>' . $it->current() . "\n";
14 $it->next();
18 foreach($it as $key=>$val)
H A Diterator_019.phpt8 $it = new NoRewindIterator(new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C')));
10 echo $it->key() . '=>' . $it->current() . "\n";
14 $it->next();
18 foreach($it as $key=>$val)
H A Dbug66702.phpt9 $it = new \ArrayIterator(array("foo", "bar", "baz"));
10 $it2 = new \RegexIterator($it, "/^ba/", \RegexIterator::MATCH);
12 $it2 = new \RegexIterator($it, "/^ba/", \RegexIterator::MATCH, \RegexIterator::INVERT_MATCH);
15 $it = new \ArrayIterator(array("foo" => 1, "bar" => 2, "baz" => 3));
16 $it2 = new \RegexIterator($it, "/^ba/", \RegexIterator::MATCH, \RegexIterator::USE_KEY);
18 $it2 = new \RegexIterator($it, "/^ba/", \RegexIterator::MATCH, \RegexIterator::USE_KEY | \RegexIter…
H A Diterator_024.phpt10 $it = new ArrayObject($ar);
11 var_dump($it->getIteratorClass());
24 $it->setIteratorClass("RecursiveArrayIterator");
25 var_dump($it->getIteratorClass());
26 foreach(new RecursiveIteratorIterator($it) as $v) echo "$v\n";
40 An instance of RecursiveIterator or IteratorAggregate creating it is required
H A DCallbackFilterIteratorTest.phpt39 $it = new ArrayIterator(range(1, 5));
40 $it = new CallbackFilterIterator($it, $callback);
44 foreach($it as $value) {
50 $it = new ArrayIterator(range(1, 5));
51 $it = new CallbackFilterIterator($it, $test());
54 foreach($it as $value) {
H A Diterator_042.phpt14 $it = new AppendIterator;
17 $it->append(array());
21 $it->append(new ArrayIterator(array(1)));
22 $it->append(new ArrayIterator(array(21, 22)));
24 var_dump($it->getArrayIterator());
26 $it->append(new ArrayIterator(array(31, 32, 33)));
28 var_dump($it->getArrayIterator());
32 foreach($it as $k => $v)
35 var_dump($it->getIteratorIndex());
H A Diterator_043.phpt6 $it = new RecursiveCachingIterator(new RecursiveArrayIterator(array(1,2)));
8 var_dump($it->getChildren());
9 $it->rewind();
10 var_dump($it->getChildren());
H A Dbug75173.phpt6 $it = new \AppendIterator();
7 $it->append(new ArrayIterator(['foo']));
9 foreach ($it as $item) {
13 $it->append(new ArrayIterator(['bar']));
H A Diterator_046.phpt16 function __construct(Iterator $it, $flags = 0)
18 parent::__construct($it, $flags);
37 $it = new MyCachingIterator(new ArrayIterator(array(0, 'foo'=>1, 'bar'=>2)), CachingIterator::TOSTR…
39 $it->fill();
40 $it->show();
H A Darray_015.phpt16 $it = $ar->getIterator();
18 $ar->offsetUnset($it->key());
19 $it->next();
21 var_dump($it->current());
24 foreach($it as $k => $v)
32 foreach($it as $k => $v)
/PHP-7.2/ext/spl/internal/
H A Drecursiveiteratoriterator.inc55 $this->ait[0] = $it;
80 if ($it->valid()) {
94 return $it->key();
102 return $it->current();
111 if ($it->valid()) {
113 $it->recursed = true;
124 $it->next();
139 $it->next();
140 $it->recursed = false;
141 if ($it->valid()) {
[all …]
H A Dlimititerator.inc26 private $it;
33 * @param it Iterator to limit
45 $this->it = $it;
63 if ($this->it instanceof SeekableIterator) {
64 $this->it->seek($position);
77 $this->it->rewind();
86 && $this->it->valid();
92 return $this->it->key();
98 return $this->it->current();
104 $this->it->next();
[all …]
H A Dcachingiterator.inc35 private $it;
43 * @param it Iterator to cache
47 function __construct(Iterator $it, $flags = self::CALL_TOSTRING)
54 $this->it = $it;
63 $this->it->rewind();
71 if ($this->valid = $this->it->valid()) {
72 $this->current = $this->it->current();
73 $this->key = $this->it->key();
86 $this->it->next();
100 return $this->it->valid();
[all …]
/PHP-7.2/ext/spl/examples/
H A Dini_groups.php32 $it = new IniGroups($argv[1]); variable
34 $it = new KeyFilter($it, $argv[2]); variable
37 foreach($it as $group) {

Completed in 31 milliseconds

12345678910>>...45