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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.08 ms | 1396 KiB | 17 Q