3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Mengambil Content di Situs Lain dengan file_get_contents dan Regex // by : Loka Dwiartara // http://www.ilmuwebsite.com // file get.content.php.txt $text = file_get_contents("http://www.pkpu.or.id/adzan.php?id=83"); echo "<table border='1'>"; preg_match_all('#<tr\sclass=\"table_header(.+?)>(.+?)</tr>#siu', $text, $result); for ($x = 0, $jumlah = count($result[0]); $x < $jumlah; $x++) { echo $result[2][$x] . "\n"; } echo "</tr><tr>"; preg_match_all('#<tr\sclass=\"table_highlight(.+?)>(.+?)</tr>#siu', $text, $result); for ($x = 0, $jumlah = count($result[0]); $x < $jumlah; $x++) { echo $result[2][$x] . "\n"; } echo "</tr></table>"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 15
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 38
Branch analysis from position: 38
2 jumps found. (Code = 44) Position 1 = 40, Position 2 = 33
Branch analysis from position: 40
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 40, Position 2 = 33
Branch analysis from position: 40
Branch analysis from position: 33
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 15
Branch analysis from position: 22
Branch analysis from position: 15
filename:       /in/LUPO1
function name:  (null)
number of ops:  42
compiled vars:  !0 = $text, !1 = $result, !2 = $x, !3 = $jumlah
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fwww.pkpu.or.id%2Fadzan.php%3Fid%3D83'
          2        DO_ICALL                                         $4      
          3        ASSIGN                                                   !0, $4
    9     4        ECHO                                                     '%3Ctable+border%3D%271%27%3E'
   10     5        INIT_FCALL                                               'preg_match_all'
          6        SEND_VAL                                                 '%23%3Ctr%5Csclass%3D%5C%22table_header%28.%2B%3F%29%3E%28.%2B%3F%29%3C%2Ftr%3E%23siu'
          7        SEND_VAR                                                 !0
          8        SEND_REF                                                 !1
          9        DO_ICALL                                                 
   11    10        ASSIGN                                                   !2, 0
         11        FETCH_DIM_R                                      ~8      !1, 0
         12        COUNT                                            ~9      ~8
         13        ASSIGN                                                   !3, ~9
         14      > JMP                                                      ->20
   12    15    >   FETCH_DIM_R                                      ~11     !1, 2
         16        FETCH_DIM_R                                      ~12     ~11, !2
         17        CONCAT                                           ~13     ~12, '%0A'
         18        ECHO                                                     ~13
   11    19        PRE_INC                                                  !2
         20    >   IS_SMALLER                                               !2, !3
         21      > JMPNZ                                                    ~15, ->15
   14    22    >   ECHO                                                     '%3C%2Ftr%3E%3Ctr%3E'
   15    23        INIT_FCALL                                               'preg_match_all'
         24        SEND_VAL                                                 '%23%3Ctr%5Csclass%3D%5C%22table_highlight%28.%2B%3F%29%3E%28.%2B%3F%29%3C%2Ftr%3E%23siu'
         25        SEND_VAR                                                 !0
         26        SEND_REF                                                 !1
         27        DO_ICALL                                                 
   16    28        ASSIGN                                                   !2, 0
         29        FETCH_DIM_R                                      ~18     !1, 0
         30        COUNT                                            ~19     ~18
         31        ASSIGN                                                   !3, ~19
         32      > JMP                                                      ->38
   17    33    >   FETCH_DIM_R                                      ~21     !1, 2
         34        FETCH_DIM_R                                      ~22     ~21, !2
         35        CONCAT                                           ~23     ~22, '%0A'
         36        ECHO                                                     ~23
   16    37        PRE_INC                                                  !2
         38    >   IS_SMALLER                                               !2, !3
         39      > JMPNZ                                                    ~25, ->33
   19    40    >   ECHO                                                     '%3C%2Ftr%3E%3C%2Ftable%3E'
   20    41      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.24 ms | 1392 KiB | 17 Q