3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = ' ;Head admins "Username" "Password" "abcdefghijk" "ab" "Username2" "Password2" "abcdehl" "ab" ;Admins "Admin" "Password" "abcd" "ab" '; $arr = explode("\n;", $str); foreach($arr as $section){ $lines = explode("\n", $section); array_shift($lines); foreach($lines as $line) $l = explode("\n", $line); echo $l[0]; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 28
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 28
Branch analysis from position: 8
2 jumps found. (Code = 77) Position 1 = 17, Position 2 = 24
Branch analysis from position: 17
2 jumps found. (Code = 78) Position 1 = 18, Position 2 = 24
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 24
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
filename:       /in/ADGfm
function name:  (null)
number of ops:  30
compiled vars:  !0 = $str, !1 = $arr, !2 = $section, !3 = $lines, !4 = $line, !5 = $l
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%0A%3BHead+admins%0A%22Username%22+%22Password%22+%22abcdefghijk%22+%22ab%22%0A%22Username2%22+%22Password2%22+%22abcdehl%22+%22ab%22%0A%0A%3BAdmins%0A%22Admin%22+%22Password%22+%22abcd%22+%22ab%22%0A'
   12     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%0A%3B'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $7      
          5        ASSIGN                                                   !1, $7
   13     6      > FE_RESET_R                                       $9      !1, ->28
          7    > > FE_FETCH_R                                               $9, !2, ->28
   14     8    >   INIT_FCALL                                               'explode'
          9        SEND_VAL                                                 '%0A'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $10     
         12        ASSIGN                                                   !3, $10
   15    13        INIT_FCALL                                               'array_shift'
         14        SEND_REF                                                 !3
         15        DO_ICALL                                                 
   16    16      > FE_RESET_R                                       $13     !3, ->24
         17    > > FE_FETCH_R                                               $13, !4, ->24
   17    18    >   INIT_FCALL                                               'explode'
         19        SEND_VAL                                                 '%0A'
         20        SEND_VAR                                                 !4
         21        DO_ICALL                                         $14     
         22        ASSIGN                                                   !5, $14
   16    23      > JMP                                                      ->17
         24    >   FE_FREE                                                  $13
   18    25        FETCH_DIM_R                                      ~16     !5, 0
         26        ECHO                                                     ~16
   13    27      > JMP                                                      ->7
         28    >   FE_FREE                                                  $9
   21    29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.55 ms | 1396 KiB | 17 Q