3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arg1 = ["name"=>"Test org","tagline"=>"whatever dude","urls"=>"http://www.whatever.com"]; $arg2 = ["name"=>"Test org2","tagline2"=>"whatever dude2","urls2"=>"http://www.whatever2.com"]; $args = array( 1 => $arg1, 2 => $arg2 ); foreach ($args as $arg => $value) { print_r($args[$key]); }
based on tFLig
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 13
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/kmmte
function name:  (null)
number of ops:  15
compiled vars:  !0 = $arg1, !1 = $arg2, !2 = $args, !3 = $value, !4 = $arg, !5 = $key
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, <array>
   4     1        ASSIGN                                                   !1, <array>
   5     2        INIT_ARRAY                                       ~8      !0, 1
         3        ADD_ARRAY_ELEMENT                                ~8      !1, 2
         4        ASSIGN                                                   !2, ~8
   8     5      > FE_RESET_R                                       $10     !2, ->13
         6    > > FE_FETCH_R                                       ~11     $10, !3, ->13
         7    >   ASSIGN                                                   !4, ~11
   9     8        INIT_FCALL                                               'print_r'
         9        FETCH_DIM_R                                      $13     !2, !5
        10        SEND_VAR                                                 $13
        11        DO_ICALL                                                 
        12      > JMP                                                      ->6
        13    >   FE_FREE                                                  $10
  10    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0