mirror of
https://github.com/php/php-src.git
synced 2026-03-29 03:32:20 +02:00
fix typo (and possible segfault)
This commit is contained in:
@@ -1890,7 +1890,7 @@ SPL_METHOD(CachingIterator, setFlags)
|
||||
|
||||
intern = (spl_dual_it_object*)zend_object_store_get_object(getThis() TSRMLS_CC);
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", flags) == FAILURE) {
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flags) == FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user