3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.34 ms | 1394 KiB | 15 Q