3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = new StdClass(); $array->hu3 = "BR"; $array->lol = "HU"; $array->xpto = "xpp"; foreach( $array as list( $key, $val ) ) { echo $key . " " . $val . "<br />"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 21
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 21
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/2YUXP
function name:  (null)
number of ops:  23
compiled vars:  !0 = $array, !1 = $key, !2 = $val
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, 'hu3'
          4        OP_DATA                                                  'BR'
    5     5        ASSIGN_OBJ                                               !0, 'lol'
          6        OP_DATA                                                  'HU'
    6     7        ASSIGN_OBJ                                               !0, 'xpto'
          8        OP_DATA                                                  'xpp'
    8     9      > FE_RESET_R                                       $9      !0, ->21
         10    > > FE_FETCH_R                                               $9, $10, ->21
         11    >   FETCH_LIST_R                                     $11     $10, 0
         12        ASSIGN                                                   !1, $11
         13        FETCH_LIST_R                                     $13     $10, 1
         14        ASSIGN                                                   !2, $13
         15        FREE                                                     $10
   10    16        CONCAT                                           ~15     !1, '+'
         17        CONCAT                                           ~16     ~15, !2
         18        CONCAT                                           ~17     ~16, '%3Cbr+%2F%3E'
         19        ECHO                                                     ~17
    8    20      > JMP                                                      ->10
         21    >   FE_FREE                                                  $9
   13    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.77 ms | 1394 KiB | 13 Q