Home
last modified time | relevance | path

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

12

/PHP-8.2/ext/spl/tests/
H A Diterator_to_array_array.phpt2 SPL: iterator_to_array() supports arrays.
6 var_dump(iterator_to_array([]));
7 var_dump(iterator_to_array([1]));
8 var_dump(iterator_to_array(['a' => 1, 'b' => 2, 5 => 3]));
9 var_dump(iterator_to_array([], false));
10 var_dump(iterator_to_array([1], false));
11 var_dump(iterator_to_array(['a' => 1, 'b' => 2, 5 => 3], false));
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 Diterator_to_array.phpt2 SPL: iterator_to_array() exceptions test
12 iterator_to_array('test','test');
16 Fatal error: Uncaught TypeError: iterator_to_array(): Argument #1 ($iterator) must be of type Trave…
18 #0 %s(%d): iterator_to_array('test', 'test')
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 Dbug54971.phpt2 Bug #54971 (Wrong result when using iterator_to_array with use_keys on true)
22 print_r(array_map('get_class', iterator_to_array($items, false)));
23 print_r(array_map('get_class', iterator_to_array($items, true)));
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 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
16 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');
94 ===iterator_to_array===
H A Diterator_041.phpt2 SPL: iterator_to_array() and exceptions
89 MyArrayIterator::test('iterator_to_array');
94 ===iterator_to_array===
H A Diterator_041b.phpt2 SPL: iterator_to_array() and exceptions from delayed destruct
93 MyArrayIterator::test('iterator_to_array');
98 ===iterator_to_array===
/PHP-8.2/ext/intl/tests/
H A Dtimezone_createTimeZoneIDEnumeration_variant2.phpt10 $countAny = count(iterator_to_array($enum));
13 $countCanonical = count(iterator_to_array($enum));
16 $countCanonicalLocation = count(iterator_to_array($enum));
23 $countAny2 = count(iterator_to_array($enum));
28 $values = iterator_to_array($enum);
H A Dbreakiter_getPartsIterator_var1.phpt15 var_dump(iterator_to_array($it->getPartsIterator(IntlPartsIterator::KEY_SEQUENTIAL)));
16 var_dump(iterator_to_array($it->getPartsIterator(IntlPartsIterator::KEY_LEFT)));
17 var_dump(iterator_to_array($it->getPartsIterator(IntlPartsIterator::KEY_RIGHT)));
H A Dtimezone_createTimeZoneIDEnumeration_basic.phpt12 print_r(iterator_to_array($enum));
18 print_r(iterator_to_array($enum));
H A Dtimezone_createEnumeration_variation1.phpt10 $count = count(iterator_to_array($tz));
14 var_dump(in_array('Europe/Amsterdam', iterator_to_array($tz)));
H A Dtimezone_createEnumeration_variation2.phpt10 $count = count(iterator_to_array($tz));
14 var_dump(in_array('Europe/Amsterdam', iterator_to_array($tz)));
H A Dcalendar_getKeywordValuesForLocale_basic.phpt11 iterator_to_array(
16 $var = iterator_to_array(
H A Dtimezone_createEnumeration_basic.phpt10 $count = count(iterator_to_array($tz));
15 $count2 = count(iterator_to_array($tz));
H A Dtimezone_createTimeZoneIDEnumeration_variant1.phpt11 $values = iterator_to_array($enum);
19 $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-8.2/Zend/tests/
H A Dbug69599.phpt12 iterator_to_array(crash());
19 #1 %s(%d): iterator_to_array(Object(Generator))

Completed in 15 milliseconds

12