3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = ' ;Head admins ;haha ;haha ;hahaha //testasd "Username" "Password" "abcdefghijk" "ab" "Username2" "Password2" "abcdehl" "ab" //test ;Admins "Admin" "Password" "abcd" "ab" '; $arr = explode("\n;", $str); echo $arr[3]; foreach($arr as $section){ $lines = explode("\n", $section); array_shift($lines); foreach($lines as $line) print $line . "\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 25
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 25
Branch analysis from position: 10
2 jumps found. (Code = 77) Position 1 = 19, Position 2 = 23
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 23
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 23
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
filename:       /in/j5SVr
function name:  (null)
number of ops:  27
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%3Bhaha%0A%3Bhaha%0A%3Bhahaha+%2F%2Ftestasd%0A%22Username%22+%22Password%22+%22abcdefghijk%22+%22ab%22%0A%22Username2%22+%22Password2%22+%22abcdehl%22+%22ab%22+%2F%2Ftest%0A%0A%3BAdmins%0A%22Admin%22+%22Password%22+%22abcd%22+%22ab%22%0A'
   16     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%0A%3B'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $6      
          5        ASSIGN                                                   !1, $6
   17     6        FETCH_DIM_R                                      ~8      !1, 3
          7        ECHO                                                     ~8
   18     8      > FE_RESET_R                                       $9      !1, ->25
          9    > > FE_FETCH_R                                               $9, !2, ->25
   19    10    >   INIT_FCALL                                               'explode'
         11        SEND_VAL                                                 '%0A'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                         $10     
         14        ASSIGN                                                   !3, $10
   20    15        INIT_FCALL                                               'array_shift'
         16        SEND_REF                                                 !3
         17        DO_ICALL                                                 
   21    18      > FE_RESET_R                                       $13     !3, ->23
         19    > > FE_FETCH_R                                               $13, !4, ->23
   22    20    >   CONCAT                                           ~14     !4, '%0A'
         21        ECHO                                                     ~14
   21    22      > JMP                                                      ->19
         23    >   FE_FREE                                                  $13
   18    24      > JMP                                                      ->9
         25    >   FE_FREE                                                  $9
   25    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.78 ms | 1396 KiB | 17 Q