3v4l.org

run code in 300+ PHP versions simultaneously
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <?php $url = "http://apt.saurik.com/debs/"; //ファイル取得 $file = file_get_contents($url); $namepat = '/<a.*?<\/a>".*?"/'; preg_match_all($namepat, $file, $data, PREG_SET_ORDER); //日付を先に取得 $date = time(); $dates = date("Y/m/d H:i:s",$date); //echo date("Y/m/d H:i:s",$date); foreach ($data as $name) { echo $name[0]."<br />"; } if (!$data) { return false; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 22, Position 2 = 27
Branch analysis from position: 22
2 jumps found. (Code = 78) Position 1 = 23, Position 2 = 27
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 30, Position 2 = 31
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
filename:       /in/LNtUZ
function name:  (null)
number of ops:  32
compiled vars:  !0 = $url, !1 = $file, !2 = $namepat, !3 = $data, !4 = $date, !5 = $dates, !6 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Cmeta+http-equiv%3D%22Content-Type%22+content%3D%22text%2Fhtml%3B+charset%3DUTF-8%22%3E%0A'
    3     1        ASSIGN                                                   !0, 'http%3A%2F%2Fapt.saurik.com%2Fdebs%2F'
    6     2        INIT_FCALL                                               'file_get_contents'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $8      
          5        ASSIGN                                                   !1, $8
    8     6        ASSIGN                                                   !2, '%2F%3Ca.%2A%3F%3C%5C%2Fa%3E%22.%2A%3F%22%2F'
   10     7        INIT_FCALL                                               'preg_match_all'
          8        SEND_VAR                                                 !2
          9        SEND_VAR                                                 !1
         10        SEND_REF                                                 !3
         11        SEND_VAL                                                 2
         12        DO_ICALL                                                 
   13    13        INIT_FCALL                                               'time'
         14        DO_ICALL                                         $12     
         15        ASSIGN                                                   !4, $12
   14    16        INIT_FCALL                                               'date'
         17        SEND_VAL                                                 'Y%2Fm%2Fd+H%3Ai%3As'
         18        SEND_VAR                                                 !4
         19        DO_ICALL                                         $14     
         20        ASSIGN                                                   !5, $14
   18    21      > FE_RESET_R                                       $16     !3, ->27
         22    > > FE_FETCH_R                                               $16, !6, ->27
   19    23    >   FETCH_DIM_R                                      ~17     !6, 0
         24        CONCAT                                           ~18     ~17, '%3Cbr+%2F%3E'
         25        ECHO                                                     ~18
   18    26      > JMP                                                      ->22
         27    >   FE_FREE                                                  $16
   23    28        BOOL_NOT                                         ~19     !3
         29      > JMPZ                                                     ~19, ->31
   24    30    > > RETURN                                                   <false>
   25    31    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.03 ms | 1401 KiB | 21 Q