3v4l.org

run code in 300+ PHP versions simultaneously
<?php $counter = 0; $counter2 = 20; $content = file_get_contents("THEURL"); // sleep(2); while($counter < $counter2) { $counter++; $first_step = explode( '<h2 class="rgs">' , $content ); $second_step = explode("</h2>" , $first_step[$counter] ); // echo $second_step[0]; $link[$counter] = htmlspecialchars($second_step[0]); // echo "$link"; // echo "<br>"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 7
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 27, Position 2 = 7
Branch analysis from position: 27
Branch analysis from position: 7
filename:       /in/vJZsR
function name:  (null)
number of ops:  28
compiled vars:  !0 = $counter, !1 = $counter2, !2 = $content, !3 = $first_step, !4 = $second_step, !5 = $link
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1        ASSIGN                                                   !1, 20
    5     2        INIT_FCALL                                               'file_get_contents'
          3        SEND_VAL                                                 'THEURL'
          4        DO_ICALL                                         $8      
          5        ASSIGN                                                   !2, $8
    8     6      > JMP                                                      ->25
   10     7    >   PRE_INC                                                  !0
   11     8        INIT_FCALL                                               'explode'
          9        SEND_VAL                                                 '%3Ch2+class%3D%22rgs%22%3E'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $11     
         12        ASSIGN                                                   !3, $11
   12    13        INIT_FCALL                                               'explode'
         14        SEND_VAL                                                 '%3C%2Fh2%3E'
         15        FETCH_DIM_R                                      ~13     !3, !0
         16        SEND_VAL                                                 ~13
         17        DO_ICALL                                         $14     
         18        ASSIGN                                                   !4, $14
   14    19        INIT_FCALL                                               'htmlspecialchars'
         20        FETCH_DIM_R                                      ~17     !4, 0
         21        SEND_VAL                                                 ~17
         22        DO_ICALL                                         $18     
         23        ASSIGN_DIM                                               !5, !0
         24        OP_DATA                                                  $18
    8    25    >   IS_SMALLER                                               !0, !1
         26      > JMPNZ                                                    ~19, ->7
   17    27    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.11 ms | 1396 KiB | 19 Q