From baa9669392136632c8f4a014a8ae4706da4b2ce5 Mon Sep 17 00:00:00 2001 From: Fabien Villepinte Date: Fri, 19 Apr 2019 17:41:19 +0200 Subject: [PATCH] Fix typo in comments --- ext/opcache/Optimizer/pass1_5.c | 2 +- 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 d16dd25b81c..a0390a94432 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 430d13011f0..97f4429e8fd 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) {