3v4l.org

run code in 300+ PHP versions simultaneously
<?php function red($destination){ $headers = get_headers($destination, 1); return $headers['Location']; } function ara($bas, $son, $yazi) { @preg_match_all('/' . preg_quote($bas, '/') . '(.*?)'. preg_quote($son, '/').'/i', $yazi, $m); return @$m[1]; } $id = "12400"; $idarti= $id + 1; $dosya = fopen(linkler.txt, 'a'); $bul = red("http://apkgalaxy.com/?p=$id"); $site = $bul; $icerik = file_get_contents($site); $asd= ara('<strong class="title"><a href=',' rel=nofollow target="_blank">',$icerik); $ke= $asd[0]; $kes=substr($ke, 33); $link="http://safelinkconverter1.com/decrypt-1/$kes"; $icerik2= file_get_contents($link); $ax= ara('window.open','Visit Link',$icerik2); $sonkes=substr_replace($ax[0],'',-16); $sonkes2=substr($sonkes,2); $asdd= file_get_contents($sonkes2); $sonko=ara('window.open','Download',$asdd); $sono=substr_replace($sonko[0],'',-15); $sonoo=substr($sono,2); $sonooo=file_get_contents($sonoo); $linkcek = ara("var src =",' if',$sonooo); echo $linkcek[0]; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GkAWu
function name:  (null)
number of ops:  95
compiled vars:  !0 = $id, !1 = $idarti, !2 = $dosya, !3 = $bul, !4 = $site, !5 = $icerik, !6 = $asd, !7 = $ke, !8 = $kes, !9 = $link, !10 = $icerik2, !11 = $ax, !12 = $sonkes, !13 = $sonkes2, !14 = $asdd, !15 = $sonko, !16 = $sono, !17 = $sonoo, !18 = $sonooo, !19 = $linkcek
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   ASSIGN                                                   !0, '12400'
   13     1        ADD                                              ~21     !0, 1
          2        ASSIGN                                                   !1, ~21
   14     3        INIT_FCALL                                               'fopen'
          4        FETCH_CONSTANT                                   ~23     'linkler'
          5        FETCH_CONSTANT                                   ~24     'txt'
          6        CONCAT                                           ~25     ~23, ~24
          7        SEND_VAL                                                 ~25
          8        SEND_VAL                                                 'a'
          9        DO_ICALL                                         $26     
         10        ASSIGN                                                   !2, $26
   15    11        INIT_FCALL                                               'red'
         12        NOP                                                      
         13        FAST_CONCAT                                      ~28     'http%3A%2F%2Fapkgalaxy.com%2F%3Fp%3D', !0
         14        SEND_VAL                                                 ~28
         15        DO_FCALL                                      0  $29     
         16        ASSIGN                                                   !3, $29
   16    17        ASSIGN                                                   !4, !3
   17    18        INIT_FCALL                                               'file_get_contents'
         19        SEND_VAR                                                 !4
         20        DO_ICALL                                         $32     
         21        ASSIGN                                                   !5, $32
   18    22        INIT_FCALL                                               'ara'
         23        SEND_VAL                                                 '%3Cstrong+class%3D%22title%22%3E%3Ca+href%3D'
         24        SEND_VAL                                                 '+rel%3Dnofollow+target%3D%22_blank%22%3E'
         25        SEND_VAR                                                 !5
         26        DO_FCALL                                      0  $34     
         27        ASSIGN                                                   !6, $34
   19    28        FETCH_DIM_R                                      ~36     !6, 0
         29        ASSIGN                                                   !7, ~36
   20    30        INIT_FCALL                                               'substr'
         31        SEND_VAR                                                 !7
         32        SEND_VAL                                                 33
         33        DO_ICALL                                         $38     
         34        ASSIGN                                                   !8, $38
   21    35        NOP                                                      
         36        FAST_CONCAT                                      ~40     'http%3A%2F%2Fsafelinkconverter1.com%2Fdecrypt-1%2F', !8
         37        ASSIGN                                                   !9, ~40
   22    38        INIT_FCALL                                               'file_get_contents'
         39        SEND_VAR                                                 !9
         40        DO_ICALL                                         $42     
         41        ASSIGN                                                   !10, $42
   23    42        INIT_FCALL                                               'ara'
         43        SEND_VAL                                                 'window.open'
         44        SEND_VAL                                                 'Visit+Link'
         45        SEND_VAR                                                 !10
         46        DO_FCALL                                      0  $44     
         47        ASSIGN                                                   !11, $44
   24    48        INIT_FCALL                                               'substr_replace'
         49        FETCH_DIM_R                                      ~46     !11, 0
         50        SEND_VAL                                                 ~46
         51        SEND_VAL                                                 ''
         52        SEND_VAL                                                 -16
         53        DO_ICALL                                         $47     
         54        ASSIGN                                                   !12, $47
   25    55        INIT_FCALL                                               'substr'
         56        SEND_VAR                                                 !12
         57        SEND_VAL                                                 2
         58        DO_ICALL                                         $49     
         59        ASSIGN                                                   !13, $49
   26    60        INIT_FCALL                                               'file_get_contents'
         61        SEND_VAR                                                 !13
         62        DO_ICALL                                         $51     
         63        ASSIGN                                                   !14, $51
   27    64        INIT_FCALL                                               'ara'
         65        SEND_VAL                                                 'window.open'
         66        SEND_VAL                                                 'Download'
         67        SEND_VAR                                                 !14
         68        DO_FCALL                                      0  $53     
         69        ASSIGN                                                   !15, $53
   28    70        INIT_FCALL                                               'substr_replace'
         71        FETCH_DIM_R                                      ~55     !15, 0
         72        SEND_VAL                                                 ~55
         73        SEND_VAL                                                 ''
         74        SEND_VAL                                                 -15
         75        DO_ICALL                                         $56     
         76        ASSIGN                                                   !16, $56
   29    77        INIT_FCALL                                               'substr'
         78        SEND_VAR                                                 !16
         79        SEND_VAL                                                 2
         80        DO_ICALL                                         $58     
         81        ASSIGN                                                   !17, $58
   30    82        INIT_FCALL                                               'file_get_contents'
         83        SEND_VAR                                                 !17
         84        DO_ICALL                                         $60     
         85        ASSIGN                                                   !18, $60
   31    86        INIT_FCALL                                               'ara'
         87        SEND_VAL                                                 'var+src+%3D'
         88        SEND_VAL                                                 '++if'
         89        SEND_VAR                                                 !18
         90        DO_FCALL                                      0  $62     
         91        ASSIGN                                                   !19, $62
   32    92        FETCH_DIM_R                                      ~64     !19, 0
         93        ECHO                                                     ~64
   33    94      > RETURN                                                   1

Function red:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GkAWu
function name:  red
number of ops:  9
compiled vars:  !0 = $destination, !1 = $headers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        INIT_FCALL                                               'get_headers'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 1
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !1, $2
    4     6        FETCH_DIM_R                                      ~4      !1, 'Location'
          7      > RETURN                                                   ~4
    5     8*     > RETURN                                                   null

End of function red

Function ara:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GkAWu
function name:  ara
number of ops:  27
compiled vars:  !0 = $bas, !1 = $son, !2 = $yazi, !3 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    8     3        BEGIN_SILENCE                                    ~4      
          4        INIT_FCALL                                               'preg_match_all'
          5        INIT_FCALL                                               'preg_quote'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 '%2F'
          8        DO_ICALL                                         $5      
          9        CONCAT                                           ~6      '%2F', $5
    9    10        CONCAT                                           ~7      ~6, '%28.%2A%3F%29'
         11        INIT_FCALL                                               'preg_quote'
         12        SEND_VAR                                                 !1
         13        SEND_VAL                                                 '%2F'
         14        DO_ICALL                                         $8      
         15        CONCAT                                           ~9      ~7, $8
         16        CONCAT                                           ~10     ~9, '%2Fi'
         17        SEND_VAL                                                 ~10
         18        SEND_VAR                                                 !2
         19        SEND_REF                                                 !3
         20        DO_ICALL                                                 
         21        END_SILENCE                                              ~4
   10    22        BEGIN_SILENCE                                    ~12     
         23        FETCH_DIM_R                                      ~13     !3, 1
         24        END_SILENCE                                              ~12
         25      > RETURN                                                   ~13
   11    26*     > RETURN                                                   null

End of function ara

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.8 ms | 1411 KiB | 32 Q