3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public $a; public $b; public $c; } $o1 = new Test; $o1->a = 'abc'; $o1->b = ['a', 'b', 'c']; $o1->c = 123456; $o2 = new Test; $o2->a = 'abc'; $o2->b = ['a', 'b', 'c']; $o2->c = 123456;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/f0RHi
function name:  (null)
number of ops:  19
compiled vars:  !0 = $o1, !1 = $o2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   NEW                                              $2      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
   13     3        ASSIGN_OBJ                                               !0, 'a'
          4        OP_DATA                                                  'abc'
   14     5        ASSIGN_OBJ                                               !0, 'b'
          6        OP_DATA                                                  <array>
   15     7        ASSIGN_OBJ                                               !0, 'c'
          8        OP_DATA                                                  123456
   17     9        NEW                                              $8      'Test'
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !1, $8
   18    12        ASSIGN_OBJ                                               !1, 'a'
         13        OP_DATA                                                  'abc'
   19    14        ASSIGN_OBJ                                               !1, 'b'
         15        OP_DATA                                                  <array>
   20    16        ASSIGN_OBJ                                               !1, 'c'
         17        OP_DATA                                                  123456
         18      > RETURN                                                   1

Class Test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.13 ms | 1393 KiB | 13 Q