3v4l.org

run code in 300+ PHP versions simultaneously
<?php $age = array("Peter"=>"35", "Ben"=>"37", "Joe"=>"43"); $arr = array("p", "B" ,"J"); print_r($age); foreach ($arr as $x => $x_value) { echo $x; } $file = get_file_contents("http://google.com"); echo $file;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 10
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/dp9ko
function name:  (null)
number of ops:  17
compiled vars:  !0 = $age, !1 = $arr, !2 = $x_value, !3 = $x, !4 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'print_r'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    6     5      > FE_RESET_R                                       $8      !1, ->10
          6    > > FE_FETCH_R                                       ~9      $8, !2, ->10
          7    >   ASSIGN                                                   !3, ~9
    7     8        ECHO                                                     !3
    6     9      > JMP                                                      ->6
         10    >   FE_FREE                                                  $8
    9    11        INIT_FCALL_BY_NAME                                       'get_file_contents'
         12        SEND_VAL_EX                                              'http%3A%2F%2Fgoogle.com'
         13        DO_FCALL                                      0  $11     
         14        ASSIGN                                                   !4, $11
   10    15        ECHO                                                     !4
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.1 ms | 1398 KiB | 16 Q