]> granicus.if.org Git - php/commitdiff
zend_compile.c: fix typo
authorDylan T <odigiman@gmail.com>
Tue, 23 Feb 2021 17:19:21 +0000 (17:19 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 24 Feb 2021 09:10:19 +0000 (10:10 +0100)
Don't mind me, I just happened to be browsing this code. ðŸ™ƒ

Closes GH-6721.

[ci skip]

Zend/zend_compile.c

index 5ecaa399bd73ffa9589e3deda78acbbd5748fef2..2b2dc9b24906106aeb8726f81a42bfb25b24839d 100644 (file)
@@ -2902,7 +2902,7 @@ static zend_op *zend_delayed_compile_prop(znode *result, zend_ast *ast, uint32_t
                opline = zend_delayed_compile_var(&obj_node, obj_ast, type, 0);
                zend_separate_if_call_and_write(&obj_node, obj_ast, type);
                if (nullsafe) {
-                       /* We will push to the short_cirtcuiting_opnums stack in zend_delayed_compile_end(). */
+                       /* We will push to the short_circuiting_opnums stack in zend_delayed_compile_end(). */
                        opline = zend_delayed_emit_op(NULL, ZEND_JMP_NULL, &obj_node, NULL);
                        if (opline->op1_type == IS_CONST) {
                                Z_TRY_ADDREF_P(CT_CONSTANT(opline->op1));