Searched refs:iterator_to_array (Results 1 – 25 of 48) sorted by relevance
12
/php-src/ext/spl/tests/ |
H A D | iterator_to_array_array.phpt | 2 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 D | spl_006.phpt | 2 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 D | iterator_to_array.phpt | 2 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 D | bug66702.phpt | 11 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 D | bug54971.phpt | 2 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 D | bug52238.phpt | 2 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 D | spl_iterator_to_array_error.phpt | 2 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 D | spl_001.phpt | 2 SPL: iterator_to_array() and iterator_count() 8 $ar = iterator_to_array($it);
|
H A D | bug72684.phpt | 12 iterator_to_array($appendIterator); 14 iterator_to_array($appendIterator);
|
H A D | bug62433.phpt | 5 $dots = array_keys(iterator_to_array(new RecursiveDirectoryIterator(__DIR__))); 6 $ndots = array_keys(iterator_to_array(new RecursiveDirectoryIterator(__DIR__, FilesystemIterator::S…
|
H A D | iterator_to_array_nonscalar_keys.phpt | 2 Tests iterator_to_array() with non-scalar keys 16 var_dump(iterator_to_array(gen()));
|
H A D | iterator_041a.phpt | 2 SPL: iterator_to_array() and exceptions from destruct 89 MyArrayIterator::test('iterator_to_array'); 94 ===iterator_to_array===
|
H A D | iterator_041.phpt | 2 SPL: iterator_to_array() and exceptions 89 MyArrayIterator::test('iterator_to_array'); 94 ===iterator_to_array===
|
/php-src/ext/intl/tests/ |
H A D | timezone_createTimeZoneIDEnumeration_variant2.phpt | 10 $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 D | breakiter_getPartsIterator_var1.phpt | 15 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 D | timezone_createTimeZoneIDEnumeration_basic.phpt | 12 print_r(iterator_to_array($enum)); 18 print_r(iterator_to_array($enum));
|
H A D | timezone_createEnumeration_variation1.phpt | 10 $count = count(iterator_to_array($tz)); 14 var_dump(in_array('Europe/Amsterdam', iterator_to_array($tz)));
|
H A D | timezone_createEnumeration_variation2.phpt | 10 $count = count(iterator_to_array($tz)); 14 var_dump(in_array('Europe/Amsterdam', iterator_to_array($tz)));
|
H A D | calendar_getKeywordValuesForLocale_basic.phpt | 11 iterator_to_array( 16 $var = iterator_to_array(
|
H A D | timezone_createEnumeration_basic.phpt | 10 $count = count(iterator_to_array($tz)); 15 $count2 = count(iterator_to_array($tz));
|
H A D | timezone_createTimeZoneIDEnumeration_variant1.phpt | 11 $values = iterator_to_array($enum); 19 $values2 = iterator_to_array($enum);
|
H A D | breakiter_getPartsIterator_basic.phpt | 17 print_r(iterator_to_array($pi)); 22 print_r(iterator_to_array($pi));
|
H A D | breakiter_getPartsIterator_basic2.phpt | 17 print_r(iterator_to_array($pi)); 22 print_r(iterator_to_array($pi));
|
/php-src/Zend/tests/property_hooks/ |
H A D | generator_hook.phpt | 25 var_dump(iterator_to_array($a->backed)); 26 var_dump(iterator_to_array($a->virtual));
|
/php-src/Zend/tests/ |
H A D | bug69599.phpt | 12 iterator_to_array(crash()); 19 #1 %s(%d): iterator_to_array(Object(Generator))
|
Completed in 54 milliseconds
12