3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.98 ms | 1395 KiB | 15 Q