3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new stdObj; $a->b = 'blop'; $a->c = array('value1', 'value2'); $a->d = null; foreach ($a as $value) { var_dump($value); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 15
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/JUrQt
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'stdObj'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    3     3        ASSIGN_OBJ                                               !0, 'b'
          4        OP_DATA                                                  'blop'
    4     5        ASSIGN_OBJ                                               !0, 'c'
          6        OP_DATA                                                  <array>
    5     7        ASSIGN_OBJ                                               !0, 'd'
          8        OP_DATA                                                  null
    7     9      > FE_RESET_R                                       $8      !0, ->15
         10    > > FE_FETCH_R                                               $8, !1, ->15
    8    11    >   INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
    7    14      > JMP                                                      ->10
         15    >   FE_FREE                                                  $8
    9    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.02 ms | 1395 KiB | 15 Q