Fix typo in comments

This commit is contained in:
Fabien Villepinte 2019-04-19 17:41:19 +02:00 committed by Gabriel Caruso
parent 994e20ec4f
commit baa9669392
2 changed files with 2 additions and 2 deletions

View File

@ -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 &&

View File

@ -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)
{