diff options
-rw-r--r-- | ext/opcache/Optimizer/pass1_5.c | 2 | ||||
-rw-r--r-- | ext/spl/spl_directory.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/opcache/Optimizer/pass1_5.c b/ext/opcache/Optimizer/pass1_5.c index d16dd25b81..a0390a9443 100644 --- a/ext/opcache/Optimizer/pass1_5.c +++ b/ext/opcache/Optimizer/pass1_5.c @@ -521,7 +521,7 @@ void zend_optimizer_pass1(zend_op_array *op_array, zend_optimizer_ctx *ctx) case ZEND_FETCH_IS: // case ZEND_FETCH_FUNC_ARG: case ZEND_FETCH_UNSET: - /* convert FETCH $GLOBALS (global), FETCH_DIM $x into FETCH $x (glboal) */ + /* convert FETCH $GLOBALS (global), FETCH_DIM $x into FETCH $x (global) */ if ((opline->extended_value & ZEND_FETCH_GLOBAL) != 0 && opline->op1_type == IS_CONST && Z_TYPE(ZEND_OP1_LITERAL(opline)) == IS_STRING && diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 430d13011f..97f4429e8f 100644 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -1598,7 +1598,7 @@ SPL_METHOD(GlobIterator, __construct) } /* }}} */ -/* {{{ proto int GlobIterator::cont() +/* {{{ proto int GlobIterator::count() Return the number of directories and files found by globbing */ SPL_METHOD(GlobIterator, count) { |