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); $l = explode('"', $lines); foreach($lines as $line) print $l[0]; print $line . "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 30
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 30
Branch analysis from position: 8
2 jumps found. (Code = 77) Position 1 = 22, Position 2 = 26
Branch analysis from position: 22
2 jumps found. (Code = 78) Position 1 = 23, Position 2 = 26
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 26
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 30
filename:       /in/JiHHf
function name:  (null)
number of ops:  32
compiled vars:  !0 = $str, !1 = $arr, !2 = $section, !3 = $lines, !4 = $l, !5 = $line
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'
   13     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%0A%3B'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $7      
          5        ASSIGN                                                   !1, $7
   14     6      > FE_RESET_R                                       $9      !1, ->30
          7    > > FE_FETCH_R                                               $9, !2, ->30
   15     8    >   INIT_FCALL                                               'explode'
          9        SEND_VAL                                                 '%0A'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $10     
         12        ASSIGN                                                   !3, $10
   16    13        INIT_FCALL                                               'array_shift'
         14        SEND_REF                                                 !3
         15        DO_ICALL                                                 
   17    16        INIT_FCALL                                               'explode'
         17        SEND_VAL                                                 '%22'
         18        SEND_VAR                                                 !3
         19        DO_ICALL                                         $13     
         20        ASSIGN                                                   !4, $13
   18    21      > FE_RESET_R                                       $15     !3, ->26
         22    > > FE_FETCH_R                                               $15, !5, ->26
   19    23    >   FETCH_DIM_R                                      ~16     !4, 0
         24        ECHO                                                     ~16
   18    25      > JMP                                                      ->22
         26    >   FE_FREE                                                  $15
   21    27        CONCAT                                           ~17     !5, '%0A'
         28        ECHO                                                     ~17
   14    29      > JMP                                                      ->7
         30    >   FE_FREE                                                  $9
   24    31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.29 ms | 1401 KiB | 17 Q