3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = new stdClass; $bar = new stdClass; $foo->property = 'foo'; $bar->property = 'bar'; var_dump($foo); var_dump($bar);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tjn7v
function name:  (null)
number of ops:  17
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    3     3        NEW                                              $5      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
    4     6        ASSIGN_OBJ                                               !0, 'property'
          7        OP_DATA                                                  'foo'
    5     8        ASSIGN_OBJ                                               !1, 'property'
          9        OP_DATA                                                  'bar'
    6    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
    7    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
195.83 ms | 1398 KiB | 15 Q