/PHP-5.5/ |
H A D | NEWS | 3427 . MySQLi: Added iterator support in MySQLi. mysqli_result implements 6243 - Fixed bug #46048 (SimpleXML top-level @attributes not part of iterator). 7114 - Fixed bug #42703 (Exception raised in an iterator::current() causes segfault 8242 . Made most iterator code exception safe. 8247 . Added CachingIterator::TOSTRING_USE_INNER, calls inner iterator __toString. 8880 . Fixed iterator edge cases 9227 - Fixed a problem with SPL iterators aggregating the inner iterator. (Marcus) 9601 - Fixed bug #32674 (exception in iterator causes crash). (Dmitry)
|
/PHP-5.5/Zend/tests/ |
H A D | bug32674.phpt | 2 Bug #32674 (exception in iterator causes crash)
|
H A D | bug48667_1.phpt | 2 Bug #48667 (Implementing both iterator and iteratoraggregate)
|
H A D | bug48667_2.phpt | 2 Bug #48667 (Implementing both iterator and iteratoraggregate)
|
H A D | bug60138.phpt | 8 $iterator = new RecursiveIteratorIterator( 12 foreach($iterator as $file);
|
/PHP-5.5/Zend/ |
H A D | zend.c | 137 HashPosition iterator; in print_hash() local 147 zend_hash_internal_pointer_reset_ex(ht, &iterator); in print_hash() 148 while (zend_hash_get_current_data_ex(ht, (void **) &tmp, &iterator) == SUCCESS) { in print_hash() 153 switch (zend_hash_get_current_key_ex(ht, &string_key, &str_len, &num_key, 0, &iterator)) { in print_hash() 185 zend_hash_move_forward_ex(ht, &iterator); in print_hash() 199 HashPosition iterator; in print_flat_hash() local 204 zend_hash_internal_pointer_reset_ex(ht, &iterator); in print_flat_hash() 205 while (zend_hash_get_current_data_ex(ht, (void **) &tmp, &iterator) == SUCCESS) { in print_flat_hash() 210 switch (zend_hash_get_current_key_ex(ht, &string_key, &str_len, &num_key, 0, &iterator)) { in print_flat_hash() 220 zend_hash_move_forward_ex(ht, &iterator); in print_flat_hash()
|
H A D | zend_API.c | 4007 HashPosition iterator; in zend_resolve_method_name() local 4018 zend_hash_internal_pointer_reset_ex(function_table, &iterator); in zend_resolve_method_name() 4019 while (zend_hash_get_current_data_ex(function_table, (void **)&func, &iterator) == SUCCESS) { in zend_resolve_method_name() 4025 …if (zend_hash_get_current_key_ex(function_table, &name, &len, &idx, 0, &iterator) != HASH_KEY_IS_S… in zend_resolve_method_name() 4035 zend_hash_move_forward_ex(function_table, &iterator); in zend_resolve_method_name()
|
H A D | zend_builtin_functions.c | 2046 HashPosition iterator; in debug_print_backtrace_args() local 2049 zend_hash_internal_pointer_reset_ex(arg_array->value.ht, &iterator); in debug_print_backtrace_args() 2050 while (zend_hash_get_current_data_ex(arg_array->value.ht, (void **) &tmp, &iterator) == SUCCESS) { in debug_print_backtrace_args() 2055 zend_hash_move_forward_ex(arg_array->value.ht, &iterator); in debug_print_backtrace_args() 2443 HashPosition iterator; in ZEND_FUNCTION() local 2459 zend_hash_internal_pointer_reset_ex(CG(function_table), &iterator); in ZEND_FUNCTION() 2467 while (zend_hash_get_current_data_ex(CG(function_table), (void **) &zif, &iterator) == SUCCESS) { in ZEND_FUNCTION() 2476 zend_hash_move_forward_ex(CG(function_table), &iterator); in ZEND_FUNCTION()
|
H A D | zend_generators.c | 616 zend_generator *generator = (zend_generator *) iterator->data; in zend_generator_iterator_valid() 626 zend_generator *generator = (zend_generator *) iterator->data; in zend_generator_iterator_get_data() 640 zend_generator *generator = (zend_generator *) iterator->data; in zend_generator_iterator_get_key() 654 zend_generator *generator = (zend_generator *) iterator->data; in zend_generator_iterator_move_forward() 664 zend_generator *generator = (zend_generator *) iterator->data; in zend_generator_iterator_rewind() 681 zend_generator_iterator *iterator; in zend_generator_get_iterator() local 696 iterator = &generator->iterator; in zend_generator_get_iterator() 697 iterator->intern.funcs = &zend_generator_iterator_functions; in zend_generator_get_iterator() 698 iterator->intern.data = (void *) generator; in zend_generator_get_iterator() 702 iterator->handle = Z_OBJ_HANDLE_P(object); in zend_generator_get_iterator() [all …]
|
H A D | zend_generators.h | 39 zend_generator_iterator iterator; member
|
H A D | zend_interfaces.c | 252 zend_user_iterator *iterator; in zend_user_it_get_iterator() local 261 iterator->it.data = (void*)object; in zend_user_it_get_iterator() 263 iterator->ce = Z_OBJCE_P(object); in zend_user_it_get_iterator() 264 iterator->value = NULL; in zend_user_it_get_iterator() 265 return (zend_object_iterator*)iterator; in zend_user_it_get_iterator() 275 zend_class_entry *ce_it = iterator && Z_TYPE_P(iterator) == IS_OBJECT ? Z_OBJCE_P(iterator) : NULL; in zend_user_it_get_new_iterator() 281 if (iterator) { in zend_user_it_get_new_iterator() 282 zval_ptr_dtor(&iterator); in zend_user_it_get_new_iterator() 288 zval_ptr_dtor(&iterator); in zend_user_it_get_new_iterator() 498 ZEND_ABSTRACT_ME(iterator, current, NULL) [all …]
|
/PHP-5.5/ext/ctype/tests/ |
H A D | ctype_alnum_variation1.phpt | 90 $iterator = 1; 92 echo "\n-- Iteration $iterator --\n"; 94 $iterator++;
|
H A D | ctype_alnum_variation3.phpt | 48 $iterator = 1; 50 echo "\n-- Iteration $iterator --\n"; 52 $iterator++;
|
H A D | ctype_alnum_variation4.phpt | 24 $iterator = 1; 26 echo "-- Iteration $iterator --\n"; 28 $iterator++; 32 $iterator = 1; 34 echo "-- Iteration $iterator --\n"; 36 $iterator++;
|
H A D | ctype_alpha_variation1.phpt | 90 $iterator = 1; 92 echo "\n-- Iteration $iterator --\n"; 94 $iterator++;
|
H A D | ctype_alpha_variation3.phpt | 49 $iterator = 1; 51 echo "\n-- Iteration $iterator --\n"; 53 $iterator++;
|
H A D | ctype_alpha_variation4.phpt | 24 $iterator = 1; 26 echo "-- Iteration $iterator --\n"; 28 $iterator++; 32 $iterator = 1; 34 echo "-- Iteration $iterator --\n"; 36 $iterator++;
|
H A D | ctype_cntrl_variation1.phpt | 91 $iterator = 1; 93 echo "\n-- Iteration $iterator --\n"; 95 $iterator++;
|
H A D | ctype_cntrl_variation3.phpt | 56 $iterator = 1; 58 echo "\n-- Iteration $iterator --\n"; 60 $iterator++;
|
H A D | ctype_cntrl_variation4.phpt | 24 $iterator = 1; 26 echo "-- Iteration $iterator --\n"; 28 $iterator++; 32 $iterator = 1; 34 echo "-- Iteration $iterator --\n"; 36 $iterator++;
|
H A D | ctype_digit_variation1.phpt | 90 $iterator = 1; 92 echo "\n-- Iteration $iterator --\n"; 94 $iterator++;
|
H A D | ctype_digit_variation3.phpt | 55 $iterator = 1; 57 echo "\n-- Iteration $iterator --\n"; 59 $iterator++;
|
H A D | ctype_digit_variation4.phpt | 24 $iterator = 1; 26 echo "-- Iteration $iterator --\n"; 28 $iterator++; 32 $iterator = 1; 34 echo "-- Iteration $iterator --\n"; 36 $iterator++;
|
H A D | ctype_graph_variation1.phpt | 90 $iterator = 1; 92 echo "\n-- Iteration $iterator --\n"; 94 $iterator++;
|
H A D | ctype_graph_variation3.phpt | 52 $iterator = 1; 54 echo "\n-- Iteration $iterator --\n"; 56 $iterator++;
|