3v4l.org

run code in 300+ PHP versions simultaneously
<html> <body> <?php $data=array(); $Inputfile = file("prod.txt"); foreach ($Inputfile as $line){ $pieces = explode(";", $line); echo $pieces[0]; echo $pieces[1]; echo $pieces[2]; echo $pieces[3]; //print_r($line); } ?> </body> </html>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 22
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 22
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
filename:       /in/pmvLU
function name:  (null)
number of ops:  25
compiled vars:  !0 = $data, !1 = $Inputfile, !2 = $line, !3 = $pieces
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E%0A%3Cbody%3E%0A'
    7     1        ASSIGN                                                   !0, <array>
    8     2        INIT_FCALL                                               'file'
          3        SEND_VAL                                                 'prod.txt'
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
    9     6      > FE_RESET_R                                       $7      !1, ->22
          7    > > FE_FETCH_R                                               $7, !2, ->22
   10     8    >   INIT_FCALL                                               'explode'
          9        SEND_VAL                                                 '%3B'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $8      
         12        ASSIGN                                                   !3, $8
   11    13        FETCH_DIM_R                                      ~10     !3, 0
         14        ECHO                                                     ~10
   12    15        FETCH_DIM_R                                      ~11     !3, 1
         16        ECHO                                                     ~11
   13    17        FETCH_DIM_R                                      ~12     !3, 2
         18        ECHO                                                     ~12
   14    19        FETCH_DIM_R                                      ~13     !3, 3
         20        ECHO                                                     ~13
    9    21      > JMP                                                      ->7
         22    >   FE_FREE                                                  $7
   18    23        ECHO                                                     '%0A%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   21    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.9 ms | 1395 KiB | 17 Q