diff --git a/internals2/opcodes/fetch-obj-w.xml b/internals2/opcodes/fetch-obj-w.xml index c171fbb7e0..8e393efc4d 100644 --- a/internals2/opcodes/fetch-obj-w.xml +++ b/internals2/opcodes/fetch-obj-w.xml @@ -8,12 +8,12 @@ num = 1;; +$foo = new stdclass; +$foo->bar = new stdclass; +$foo->bar->baz = 'quix'; ?> ]]> @@ -21,27 +21,28 @@ $$a->num = 1;;
PHP opcodes Function name: (null) - Compiled variables: !0=$x, !1=$a + Compiled variables: !0 = $foo - line#op - fetchextreturn + line# + opfetch + extreturn operands - 60 + 20 ZEND_FETCH_CLASS - :0 - 'A' + 4:0 + 'stdclass' 1 NEW - $1 + :0 @@ -54,34 +55,58 @@ $$a->num = 1;; 3 ASSIGN - !0,$1 + !0 - 74 - ASSIGN + 34 + ZEND_FETCH_CLASS + 4:5 + 'stdclass' + + + 5 + NEW - !1,'x' - - - 85 - FETCH_Wlocal - $5 - !1 + :5 6 - ZEND_ASSIGN_OBJ - - $5,'num' + DO_FCALL_BY_NAME + 0 + 7 - ZEND_OP_DATA + ZEND_ASSIGN_OBJ - 1 + !0, 'bar' - 98 + 8 + ZEND_OP_DATA + + + + + 49 + FETCH_OBJ_W + + !0, 'bar' + + + 10 + ZEND_ASSIGN_OBJ + + 'baz' + + + 11 + ZEND_OP_DATA + + 'quix' + + + 512 RETURN 1 @@ -90,4 +115,4 @@ $$a->num = 1;;
- \ No newline at end of file +