3v4l.org

run code in 300+ PHP versions simultaneously
<!-- Sedo Code --> <?php # Script for displaying the topdomains # file with list of topdomains from Sedo $filecontent = file ("http://www.sedo.com/txt/topdomains_us.txt"); $x =0; $topdomains = array(); while(list($line) = each($filecontent)) { $topdomains [$x][0] = substr($filecontent[$x],0,strpos($filecontent[$x],'~')); $topdomains [$x][1] = substr($filecontent[$x], strpos($filecontent[$x],'~')+1, (strlen($filecontent[$x])-strpos($filecontent[$x],'~')-3) ); $x++; } # Displaying the domains & prices as table echo '<table border="0" cellpadding="2" cellspacing="0">'; echo '<tr><td bgcolor="#e0e8ef"><span style="font-size:11px; font-weight:bold;"> TOP domains for sale</span></td></tr>'; for ($i=0;$i<10;$i++) { ?> <tr><td bgcolor="#f0f0f0"><a href="http://www.sedo.com/search/details.php4?partnerid=316444&language=us&domain=<? echo $topdomains[$i][0];?>" target="_blank"> <span style="font-size:10px; font-weight:bold;"> <? echo $topdomains[$i][0]; ?></span></a></td></tr> <tr><td bgcolor="#ffffff"><span style="font-size:8px"> <? echo $topdomains[$i][1]; ?></span></td></tr> <?} echo '</table>'; ?> <!-- Sedo Code Ende -->
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 47
Branch analysis from position: 47
2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 8
Branch analysis from position: 53
1 jumps found. (Code = 42) Position 1 = 71
Branch analysis from position: 71
2 jumps found. (Code = 44) Position 1 = 73, Position 2 = 57
Branch analysis from position: 73
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 57
2 jumps found. (Code = 44) Position 1 = 73, Position 2 = 57
Branch analysis from position: 73
Branch analysis from position: 57
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 53, Position 2 = 8
Branch analysis from position: 53
Branch analysis from position: 8
filename:       /in/83g00
function name:  (null)
number of ops:  76
compiled vars:  !0 = $filecontent, !1 = $x, !2 = $topdomains, !3 = $line, !4 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21--+Sedo+Code+--%3E%0A%0A%09%09++%09'
    7     1        INIT_FCALL                                               'file'
          2        SEND_VAL                                                 'http%3A%2F%2Fwww.sedo.com%2Ftxt%2Ftopdomains_us.txt'
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !0, $5
   10     5        ASSIGN                                                   !1, 0
   11     6        ASSIGN                                                   !2, <array>
   12     7      > JMP                                                      ->47
   13     8    >   INIT_FCALL                                               'substr'
          9        FETCH_DIM_R                                      ~11     !0, !1
         10        SEND_VAL                                                 ~11
         11        SEND_VAL                                                 0
         12        INIT_FCALL                                               'strpos'
         13        FETCH_DIM_R                                      ~12     !0, !1
         14        SEND_VAL                                                 ~12
         15        SEND_VAL                                                 '%7E'
         16        DO_ICALL                                         $13     
         17        SEND_VAR                                                 $13
         18        DO_ICALL                                         $14     
         19        FETCH_DIM_W                                      $9      !2, !1
         20        ASSIGN_DIM                                               $9, 0
         21        OP_DATA                                                  $14
   14    22        INIT_FCALL                                               'substr'
         23        FETCH_DIM_R                                      ~17     !0, !1
         24        SEND_VAL                                                 ~17
         25        INIT_FCALL                                               'strpos'
         26        FETCH_DIM_R                                      ~18     !0, !1
         27        SEND_VAL                                                 ~18
         28        SEND_VAL                                                 '%7E'
         29        DO_ICALL                                         $19     
         30        ADD                                              ~20     $19, 1
         31        SEND_VAL                                                 ~20
         32        FETCH_DIM_R                                      ~21     !0, !1
         33        STRLEN                                           ~22     ~21
         34        INIT_FCALL                                               'strpos'
         35        FETCH_DIM_R                                      ~23     !0, !1
         36        SEND_VAL                                                 ~23
         37        SEND_VAL                                                 '%7E'
         38        DO_ICALL                                         $24     
         39        SUB                                              ~25     ~22, $24
         40        SUB                                              ~26     ~25, 3
         41        SEND_VAL                                                 ~26
         42        DO_ICALL                                         $27     
         43        FETCH_DIM_W                                      $15     !2, !1
         44        ASSIGN_DIM                                               $15, 1
         45        OP_DATA                                                  $27
   15    46        PRE_INC                                                  !1
   12    47    >   INIT_FCALL_BY_NAME                                       'each'
         48        SEND_VAR_EX                                              !0
         49        DO_FCALL                                      0  $29     
         50        FETCH_LIST_R                                     $30     $29, 0
         51        ASSIGN                                                   !3, $30
         52      > JMPNZ                                                    $29, ->8
   21    53    >   ECHO                                                     '%3Ctable+border%3D%220%22+cellpadding%3D%222%22+cellspacing%3D%220%22%3E'
   22    54        ECHO                                                     '%3Ctr%3E%3Ctd+bgcolor%3D%22%23e0e8ef%22%3E%3Cspan+style%3D%22font-size%3A11px%3B+font-weight%3Abold%3B%22%3E%0A%09%09%09%09%09TOP+domains+for+sale%3C%2Fspan%3E%3C%2Ftd%3E%3C%2Ftr%3E'
   25    55        ASSIGN                                                   !4, 0
         56      > JMP                                                      ->71
   26    57    >   ECHO                                                     '%09%09%09%09%09%3Ctr%3E%3Ctd+bgcolor%3D%22%23f0f0f0%22%3E%3Ca+href%3D%22http%3A%2F%2Fwww.sedo.com%2Fsearch%2Fdetails.php4%3Fpartnerid%3D316444%26language%3Dus%26domain%3D'
         58        FETCH_DIM_R                                      ~33     !2, !4
         59        FETCH_DIM_R                                      ~34     ~33, 0
         60        ECHO                                                     ~34
         61        ECHO                                                     '%22+target%3D%22_blank%22%3E%0A%09%09%09%09%09%3Cspan+style%3D%22font-size%3A10px%3B+font-weight%3Abold%3B%22%3E%0A%09%09%09%09%09'
   28    62        FETCH_DIM_R                                      ~35     !2, !4
         63        FETCH_DIM_R                                      ~36     ~35, 0
         64        ECHO                                                     ~36
         65        ECHO                                                     '%3C%2Fspan%3E%3C%2Fa%3E%3C%2Ftd%3E%3C%2Ftr%3E%0A%09%09%09%09%09%3Ctr%3E%3Ctd+bgcolor%3D%22%23ffffff%22%3E%3Cspan+style%3D%22font-size%3A8px%22%3E%0A%09%09%09%09%09'
   30    66        FETCH_DIM_R                                      ~37     !2, !4
         67        FETCH_DIM_R                                      ~38     ~37, 1
         68        ECHO                                                     ~38
         69        ECHO                                                     '%3C%2Fspan%3E%3C%2Ftd%3E%3C%2Ftr%3E%0A%09%09%09%09%09'
   25    70        PRE_INC                                                  !4
         71    >   IS_SMALLER                                               !4, 10
         72      > JMPNZ                                                    ~40, ->57
   32    73    >   ECHO                                                     '%3C%2Ftable%3E'
   34    74        ECHO                                                     '%09%09%09%09%0A%09%09%09%3C%21--+Sedo+Code+Ende+--%3E'
   35    75      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.4 ms | 1404 KiB | 19 Q