3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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
Jump found. Position 1 = 23
Branch analysis from position: 23
Jump found. Position 1 = 25, Position 2 = 17
Branch analysis from position: 25
Jump found. Position 1 = 44
Branch analysis from position: 44
Jump found. Position 1 = 46, Position 2 = 38
Branch analysis from position: 46
Jump found. Position 1 = -2
Branch analysis from position: 38
Jump found. Position 1 = 46, Position 2 = 38
Branch analysis from position: 46
Branch analysis from position: 38
Branch analysis from position: 17
Jump found. Position 1 = 25, Position 2 = 17
Branch analysis from position: 25
Branch analysis from position: 17
filename:       /in/LUPO1
function name:  (null)
number of ops:  48
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        INIT_FCALL                                               'count'
        12        FETCH_DIM_R                                      $8      !1, 0
        13        SEND_VAR                                                 $8
        14        DO_ICALL                                         $9      
        15        ASSIGN                                                   !3, $9
        16      > JMP                                                      ->23
  12    17    >   FETCH_DIM_R                                      $11     !1, 2
        18        FETCH_DIM_R                                      $12     $11, !2
        19        CONCAT                                           ~13     $12, '%0A'
        20        ECHO                                                     ~13
  11    21        POST_INC                                         ~14     !2
        22        FREE                                                     ~14
        23    >   IS_SMALLER                                       ~15     !2, !3
        24      > JMPNZ                                                    ~15, ->17
  14    25    >   ECHO                                                     '%3C%2Ftr%3E%3Ctr%3E'
  15    26        INIT_FCALL                                               'preg_match_all'
        27        SEND_VAL                                                 '%23%3Ctr%5Csclass%3D%5C%22table_highlight%28.%2B%3F%29%3E%28.%2B%3F%29%3C%2Ftr%3E%23siu'
        28        SEND_VAR                                                 !0
        29        SEND_REF                                                 !1
        30        DO_ICALL                                                 
  16    31        ASSIGN                                                   !2, 0
        32        INIT_FCALL                                               'count'
        33        FETCH_DIM_R                                      $18     !1, 0
        34        SEND_VAR                                                 $18
        35        DO_ICALL                                         $19     
        36        ASSIGN                                                   !3, $19
        37      > JMP                                                      ->44
  17    38    >   FETCH_DIM_R                                      $21     !1, 2
        39        FETCH_DIM_R                                      $22     $21, !2
        40        CONCAT                                           ~23     $22, '%0A'
        41        ECHO                                                     ~23
  16    42        POST_INC                                         ~24     !2
        43        FREE                                                     ~24
        44    >   IS_SMALLER                                       ~25     !2, !3
        45      > JMPNZ                                                    ~25, ->38
  19    46    >   ECHO                                                     '%3C%2Ftr%3E%3C%2Ftable%3E'
        47      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0