Home
last modified time | relevance | path

Searched refs:iterator_to_array (Results 1 – 25 of 35) sorted by relevance

12

/PHP-7.2/ext/spl/tests/
H A Diterator_to_array.phpt2 SPL: iterator_to_array() exceptions test
12 iterator_to_array();
15 iterator_to_array($iterator,'test','test');
17 iterator_to_array('test','test');
21 Warning: iterator_to_array() expects at least 1 parameter, 0 given in %s
23 Warning: iterator_to_array() expects at most 2 parameters, 3 given in %s
25 Fatal error: Uncaught TypeError: Argument 1 passed to iterator_to_array() must implement interface …
27 #0 %s(%d): iterator_to_array('test', 'test')
H A Dspl_006.phpt2 SPL: iterator_to_array() without keys
10 var_dump(iterator_to_array($it));
11 var_dump(iterator_to_array($it, false));
12 var_dump(iterator_to_array($it, true));
H A Dspl_iterator_to_array_basic.phpt2 SPL: iterator_to_array, Test function to convert iterator to array
9 iterator_to_array();//requires iterator as arg
13 Warning: iterator_to_array() expects at least 1 parameter, %s
H A Dbug66702.phpt11 print_r(iterator_to_array($it2));
13 print_r(iterator_to_array($it2));
17 print_r(iterator_to_array($it2));
19 print_r(iterator_to_array($it2));
H A Dbug52238.phpt2 Bug #52238 - Crash when an Exception occurred in iterator_to_array
15 var_dump(iterator_to_array(new Foo));
22 #2 %s: iterator_to_array(Object(Foo))
H A Dbug54971.phpt2 Bug #54971 (Wrong result when using iterator_to_array with use_keys on true)
24 print_r(array_map('get_class', iterator_to_array($items, false)));
25 print_r(array_map('get_class', iterator_to_array($items, true)));
H A Dspl_iterator_to_array_error.phpt2 SPL: Error: iterator_to_array when the current operation throws an exception
16 $ar = iterator_to_array($it);
23 $ar = iterator_to_array($it, false);
H A Dspl_001.phpt2 SPL: iterator_to_array() and iterator_count()
8 $ar = iterator_to_array($it);
H A Dbug72684.phpt12 iterator_to_array($appendIterator);
14 iterator_to_array($appendIterator);
H A Diterator_to_array_nonscalar_keys.phpt2 Tests iterator_to_array() with non-scalar keys
15 var_dump(iterator_to_array(gen()));
H A Dbug62433.phpt5 $dots = array_keys(iterator_to_array(new RecursiveDirectoryIterator(__DIR__)));
6 $ndots = array_keys(iterator_to_array(new RecursiveDirectoryIterator(__DIR__, FilesystemIterator::S…
H A Diterator_041a.phpt2 SPL: iterator_to_array() and exceptions from destruct
89 MyArrayIterator::test('iterator_to_array');
96 ===iterator_to_array===
H A Diterator_041.phpt2 SPL: iterator_to_array() and exceptions
89 MyArrayIterator::test('iterator_to_array');
96 ===iterator_to_array===
H A Diterator_041b.phpt2 SPL: iterator_to_array() and exceptions from delayed destruct
93 MyArrayIterator::test('iterator_to_array');
100 ===iterator_to_array===
/PHP-7.2/ext/intl/tests/
H A Dtimezone_createTimeZoneIDEnumeration_variant2.phpt14 $countAny = count(iterator_to_array($enum));
17 $countCanonical = count(iterator_to_array($enum));
20 $countCanonicalLocation = count(iterator_to_array($enum));
27 $countAny2 = count(iterator_to_array($enum));
32 $values = iterator_to_array($enum);
H A Dbreakiter_getPartsIterator_var1.phpt17 var_dump(iterator_to_array($it->getPartsIterator(IntlPartsIterator::KEY_SEQUENTIAL)));
18 var_dump(iterator_to_array($it->getPartsIterator(IntlPartsIterator::KEY_LEFT)));
19 var_dump(iterator_to_array($it->getPartsIterator(IntlPartsIterator::KEY_RIGHT)));
H A Dtimezone_createEnumeration_variation1.phpt12 $count = count(iterator_to_array($tz));
16 var_dump(in_array('Europe/Amsterdam', iterator_to_array($tz)));
H A Dtimezone_createEnumeration_variation2.phpt12 $count = count(iterator_to_array($tz));
16 var_dump(in_array('Europe/Amsterdam', iterator_to_array($tz)));
H A Dtimezone_createTimeZoneIDEnumeration_basic.phpt16 print_r(iterator_to_array($enum));
22 print_r(iterator_to_array($enum));
H A Dtimezone_createEnumeration_basic.phpt12 $count = count(iterator_to_array($tz));
17 $count2 = count(iterator_to_array($tz));
H A Dcalendar_getKeywordValuesForLocale_basic.phpt15 iterator_to_array(
20 $var = iterator_to_array(
H A Dtimezone_createTimeZoneIDEnumeration_variant1.phpt15 $values = iterator_to_array($enum);
23 $values2 = iterator_to_array($enum);
H A Dbreakiter_getPartsIterator_basic.phpt17 print_r(iterator_to_array($pi));
22 print_r(iterator_to_array($pi));
H A Dbreakiter_getPartsIterator_basic2.phpt17 print_r(iterator_to_array($pi));
22 print_r(iterator_to_array($pi));
/PHP-7.2/Zend/tests/
H A Dbug69599.phpt12 iterator_to_array(crash());
19 #1 %s(%d): iterator_to_array(Object(Generator))

Completed in 62 milliseconds

12