mirror of
https://github.com/php/php-src.git
synced 2025-01-12 22:14:41 +08:00
Fix typo in comments
This commit is contained in:
parent
994e20ec4f
commit
baa9669392
@ -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 &&
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user