]> granicus.if.org Git - php/commitdiff
Fix typo in pi placement
authorNikita Popov <nikic@php.net>
Sat, 19 Dec 2015 19:48:12 +0000 (20:48 +0100)
committerNikita Popov <nikic@php.net>
Sat, 19 Dec 2015 23:03:52 +0000 (00:03 +0100)
ext/opcache/Optimizer/zend_ssa.c

index 86e7e2d6ff6948f1fbd9f5afb451c44c6f03cf03..3677b4b5084ecf929a9957bfedb376df928515f6 100644 (file)
@@ -656,7 +656,7 @@ int zend_build_ssa(zend_arena **arena, const zend_op_array *op_array, uint32_t b
                                        val2 += 0;
                                } else if ((opline-1)->op2_type == IS_CONST &&
                                    Z_TYPE_P(CRT_CONSTANT((opline-1)->op2)) == IS_TRUE) {
-                                       val2 += 12;
+                                       val2 += 1;
                                } else {
                                        var1 = -1;
                                }