3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o = new stdClass; $o->text = "test"; $o2 = new stdClass; $o2->text = "test2"; $o3 = new stdClass; $o3->text = "test3"; var_dump($o); print_r($o);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IRv2Q
function name:  (null)
number of ops:  22
compiled vars:  !0 = $o, !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        ASSIGN_OBJ                                               !0, 'text'
          4        OP_DATA                                                  'test'
    6     5        NEW                                              $7      'stdClass'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $7
    7     8        ASSIGN_OBJ                                               !1, 'text'
          9        OP_DATA                                                  'test2'
    9    10        NEW                                              $11     'stdClass'
         11        DO_FCALL                                      0          
         12        ASSIGN                                                   !2, $11
   10    13        ASSIGN_OBJ                                               !2, 'text'
         14        OP_DATA                                                  'test3'
   12    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
   13    18        INIT_FCALL                                               'print_r'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.85 ms | 1395 KiB | 17 Q