com php-src: Fix typos: ext/opcache/Optimizer/zend_optimizer .c

From: Date: Sat, 30 Dec 2017 22:40:33 +0000
Subject: com php-src: Fix typos: ext/opcache/Optimizer/zend_optimizer .c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100720@lists.php.net to get a copy of this message
Commit: ffc0a1732232abf2a1b27fd61ef3b0a0a737849d Author: Nikita Popov <nikita.ppv@gmail.com> Sat, 30 Dec 2017 18:18:50 +0100 Parents: b6581038eb1bf8a930149ff45242dedc5d6908ad Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ffc0a1732232abf2a1b27fd61ef3b0a0a737849d Log: Fix typos Changed paths: M ext/opcache/Optimizer/zend_optimizer.c Diff: diff --git a/ext/opcache/Optimizer/zend_optimizer.c b/ext/opcache/Optimizer/zend_optimizer.c index 0c9eac1..9ca7562 100644 --- a/ext/opcache/Optimizer/zend_optimizer.c +++ b/ext/opcache/Optimizer/zend_optimizer.c @@ -320,7 +320,7 @@ int zend_optimizer_update_op1_const(zend_op_array *op_array, case ZEND_FETCH_FUNC_ARG: TO_STRING_NOWARN(val); if (opline->opcode == ZEND_CONCAT && opline->op2_type == IS_CONST) { - opline->opcode == ZEND_FAST_CONCAT; + opline->opcode = ZEND_FAST_CONCAT; } /* break missing intentionally */ default: @@ -472,7 +472,7 @@ int zend_optimizer_update_op2_const(zend_op_array *op_array, case ZEND_FAST_CONCAT: TO_STRING_NOWARN(val); if (opline->opcode == ZEND_CONCAT && opline->op1_type == IS_CONST) { - opline->opcode == ZEND_FAST_CONCAT; + opline->opcode = ZEND_FAST_CONCAT; } /* break missing intentionally */ default:

« previous php.cvs (#100720) next »