3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (glob('/proc/*/status') as $f) { $c = file($f); echo $c[0]; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 12
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 12
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/lddd7
function name:  (null)
number of ops:  14
compiled vars:  !0 = $f, !1 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'glob'
          1        SEND_VAL                                                 '%2Fproc%2F%2A%2Fstatus'
          2        DO_ICALL                                         $2      
          3      > FE_RESET_R                                       $3      $2, ->12
          4    > > FE_FETCH_R                                               $3, !0, ->12
    3     5    >   INIT_FCALL                                               'file'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    4     9        FETCH_DIM_R                                      ~6      !1, 0
         10        ECHO                                                     ~6
    2    11      > JMP                                                      ->4
         12    >   FE_FREE                                                  $3
    5    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.72 ms | 1399 KiB | 17 Q