|
|
|
@ -740,10 +740,6 @@ PHP_FUNCTION(prev) |
|
|
|
RETURN_FALSE; |
|
|
|
} |
|
|
|
zend_hash_move_backwards(target_hash); |
|
|
|
if (!target_hash->pInternalPointer) { |
|
|
|
zend_hash_internal_pointer_reset(target_hash); |
|
|
|
RETURN_FALSE; |
|
|
|
} |
|
|
|
|
|
|
|
if (return_value_used) { |
|
|
|
if (zend_hash_get_current_data(target_hash, (void **) &entry) == FAILURE) { |
|
|
|
@ -772,10 +768,6 @@ PHP_FUNCTION(next) |
|
|
|
RETURN_FALSE; |
|
|
|
} |
|
|
|
zend_hash_move_forward(target_hash); |
|
|
|
if (!target_hash->pInternalPointer) { |
|
|
|
zend_hash_internal_pointer_end(target_hash); |
|
|
|
RETURN_FALSE; |
|
|
|
} |
|
|
|
|
|
|
|
if (return_value_used) { |
|
|
|
if (zend_hash_get_current_data(target_hash, (void **) &entry) == FAILURE) { |
|
|
|
|