Home
last modified time | relevance | path

Searched refs:it (Results 101 – 125 of 1147) sorted by relevance

12345678910>>...46

/PHP-7.2/ext/spl/tests/
H A Diterator_053.phpt10 function __construct($it, $re, $mode, $flags = 0)
14 parent::__construct($it, $re, $mode, $flags);
36 $it = new MyRegexIterator($ar, '/(\d),(\d)/', RegexIterator::ALL_MATCHES, RegexIterator::USE_KEY);
37 $it->show();
39 $it = new MyRegexIterator($ar, '/(\d)/', RegexIterator::ALL_MATCHES, RegexIterator::USE_KEY);
40 $it->show();
H A Diterator_033.phpt6 $it = new ParentIterator(new RecursiveArrayIterator(array(1,array(21,22, array(231)),3)));
8 foreach(new RecursiveIteratorIterator($it) as $k=>$v)
16 foreach(new RecursiveIteratorIterator($it, 1) as $k=>$v)
H A DRecursiveDirectoryIterator_getSubPath_basic.phpt15 $it = new RecursiveIteratorIterator($iterator);
18 while($it->valid()) {
19 $list[] = $it->getSubPath();
20 $it->next();
H A Diterator_036.phpt6 function test($it)
8 foreach($it as $v)
10 var_dump((string)$it);
H A Dbug54281.phpt7 function __construct($it, $max_depth) { }
9 $it = new RecursiveArrayIteratorIterator(new RecursiveArrayIterator(array()), 2);
11 foreach($it as $k=>$v) { }
H A Dspl_iterator_to_array_error.phpt12 $it = new MyArrayIterator(array(4, 6, 2));
16 $ar = iterator_to_array($it);
23 $ar = iterator_to_array($it, false);
H A Diterator_001.phpt67 $it = new LimitIterator(new NumericArrayIterator($a), 1, 3);
68 foreach ($it as $v)
70 print $v . ' is ' . ($it->greaterThan(2) ? 'greater than 2' : 'less than or equal 2') . "\n";
75 $it = new LimitIterator(new SeekableNumericArrayIterator($a), 1, 3);
76 foreach($it as $v)
78 print $v . ' is ' . ($it->greaterThan(2) ? 'greater than 2' : 'less than or equal 2') . "\n";
84 $it = new CachingIterator(new LimitIterator(new SeekableNumericArrayIterator($a), 1, 3));
85 foreach($it as $v)
87 print $v . ' is ' . ($it->greaterThan(2) ? 'greater than 2' : 'less than or equal 2') . "\n";
/PHP-7.2/ext/intl/tests/
H A Dbreakiter_getPartsIterator_error.phpt12 $it = IntlBreakIterator::createWordInstance(NULL);
13 var_dump($it->getPartsIterator(array()));
14 var_dump($it->getPartsIterator(1, 2));
15 var_dump($it->getPartsIterator(-1));
/PHP-7.2/ext/zlib/tests/
H A Dgzread_basic.phpt2 Test function gzread() by calling it with its expected arguments
31 all I know is that you can realize it
33 as it turns "
35 and I know that it descends down on me
H A Dgzgetc_basic.phpt2 Test function gzgetc() by calling it with its expected arguments zlib 1.2.5
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
H A Dgzgets_basic.phpt2 Test function gzgets() by calling it with its expected arguments
38 string(38) "all I know is that you can realize it
42 string(19) "as it turns around
44 string(39) "and I know that it descends down on me
H A Dgzgetc_basic_1.phpt2 Test function gzgetc() by calling it with its expected arguments zlib 1.2.7
37 all I know is that you can realize it
39 as it turns around
40 and I know that it descends down on me
H A Dzlib_scheme_file_read_file_basic.phpt19 all I know is that you can realize it
21 as it turns around
22 and I know that it descends down on me
H A Dzlib_scheme_file_get_contents_basic.phpt20 all I know is that you can realize it
22 as it turns around
23 and I know that it descends down on me
H A Dzlib_scheme_fopen_basic.phpt21 all I know is that you can realize it
23 as it turns around
24 and I know that it descends down on me
H A Dzlib_scheme_file_basic.phpt26 string(38) "all I know is that you can realize it
32 string(19) "as it turns around
35 string(39) "and I know that it descends down on me
H A Dzlib_scheme_fopen_variation1.phpt26 all I know is that you can realize it
28 as it turns around
29 and I know that it descends down on me
H A Dzlib_scheme_copy_variation2.phpt15 all I know is that you can realize it
17 as it turns around
18 and I know that it descends down on me
35 //also need to look for the magic number (x1f x8b) to prove it
/PHP-7.2/ext/spl/examples/
H A Ddualiterator.inc172 $it = new RecursiveDualIterator($lhs, $rhs,
174 $it = new RecursiveCompareDualIterator($it);
183 $it = new DualIterator($lhs, $rhs, self::CURRENT_0 | self::KEY_0);
188 foreach($it as $n)
190 if (!$it->areIdentical())
198 foreach($it as $n)
200 if (!$it->areEqual())
206 return $identical ? $it->areIdentical() : $it->areEqual();
/PHP-7.2/ext/date/tests/
H A Dbug73858.phpt7 to see if it's the format string which is parsed in correctly or if it's the DateTime
8 object which is breaking stuff. From the testing it appears DateTime is broken somehow.
24 Next we will try mix/match the code to see what happens, surprisingly it seems that the end date ($…
25 is the important one, if it uses the verbose method it returns the correct values.
38 This test just proves that the $e date is important BUT NOT because it's the one we call the diff()…
50 it just means you have to be careful of how we work with DateTimes .
/PHP-7.2/ext/oci8/tests/
H A Dlob_044.phpt32 var_dump($blob->write("this is a biiiig faaat test string. why are you reading it, I wonder? =)"));
42 // Read it back
44 echo "\nTest 2 - read it back\n";
66 string(72) "this is a biiiig faaat test string. why are you reading it, I wonder? =)"
71 Test 2 - read it back
/PHP-7.2/ext/spl/internal/
H A Dappenditerator.inc31 * @param $it Iterator to append
35 * call to $it->rewind(). Also if the current state is invalid the inner
38 function append(Iterator $it)
40 $this->iterators->append($it);
69 /** @return the current value if it is valid or \c NULL
73 /* Using $this->valid() would be exactly the same; it would omit
80 /** @return the current key if it is valid or \c NULL
H A Drecursivecachingiterator.inc27 * @param it Iterator to cache
32 function __construct(RecursiveIterator $it, $flags = self::CALL_TOSTRING)
34 parent::__construct($it, $flags);
51 if ($this->hasChildren = $this->it->hasChildren())
55 $child = $this->it->getChildren();
H A Drecursivefilteriterator.inc21 * function getChildren() because it may not always suit your needs. The
23 * class it is called from. That is you extend RecursiveFilterIterator and
32 /** @param $it the RecursiveIterator to filter
34 function __construct(RecursiveIterator $it)
36 parent::__construct($it);
/PHP-7.2/ext/zip/tests/
H A Dbug51353.phpt6 die('skip the test might get very long, activate it manually');
9 /* This test might get very long depending on the mashine it's running on. Therefore
10 adding an explicit skip, remove it to run this test. */
16 or create it dynamically. */

Completed in 48 milliseconds

12345678910>>...46