3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.87 ms | 1395 KiB | 17 Q