3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_xml = "<haberler>"; $resim = mysql_query("SELECT * FROM " . $table_prefix . "postmeta LEFT OUTER JOIN " . $table_prefix . "posts ON " . $table_prefix . "postmeta.post_id = " . $table_prefix . "posts.id Where " . $table_prefix . "postmeta.meta_key='manset' ORDER By " . $table_prefix . "postmeta.post_id DESC Limit 0,7"); for ($j = 0; $niphell = mysql_fetch_array($resim); $j++) { $_xml .= "<haber><baslik>" . $niphell[post_title] . "</baslik><icerik>" . htmlspecialchars(substr(strip_tags($niphell[post_content]), 0, 150)) . "</icerik><img>" . $niphell[meta_value] . "</img><link>" . get_permalink($niphell[post_id]) . "</link></haber>"; }; $_xml .= "</haberler>"; $dosya = "wp-content/themes/" . get_template() . "/manset/haberler.xml"; $file = fopen($dosya, 'w+') or die("Dosya açılamadı!"); fwrite($file, $_xml); fclose($file); echo '<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="970" height="290"> <param name="movie" value="'.get_bloginfo('template_url').'/manset/manset.swf"> <param name="quality" value="High"> <param name="base" value="'.get_bloginfo('template_url').'/manset/manset.swf"> <param name="wmode" value="transparent"> <embed pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="970" height="290" quality="High" base="'.get_bloginfo('template_url').'/manset/manset.swf" src="'.get_bloginfo('template_url').'/manset/manset.swf" wmode="transparent"></object>'; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 52
Branch analysis from position: 52
2 jumps found. (Code = 44) Position 1 = 57, Position 2 = 19
Branch analysis from position: 57
2 jumps found. (Code = 47) Position 1 = 69, Position 2 = 71
Branch analysis from position: 69
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 71
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 57, Position 2 = 19
Branch analysis from position: 57
Branch analysis from position: 19
filename:       /in/dvs4n
function name:  (null)
number of ops:  100
compiled vars:  !0 = $_xml, !1 = $resim, !2 = $table_prefix, !3 = $j, !4 = $niphell, !5 = $dosya, !6 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Chaberler%3E'
    5     1        INIT_FCALL_BY_NAME                                       'mysql_query'
          2        CONCAT                                           ~8      'SELECT+%2A+FROM+', !2
          3        CONCAT                                           ~9      ~8, 'postmeta+LEFT+OUTER+JOIN+'
          4        CONCAT                                           ~10     ~9, !2
          5        CONCAT                                           ~11     ~10, 'posts+ON+'
          6        CONCAT                                           ~12     ~11, !2
          7        CONCAT                                           ~13     ~12, 'postmeta.post_id+%3D+'
          8        CONCAT                                           ~14     ~13, !2
          9        CONCAT                                           ~15     ~14, 'posts.id+Where+'
         10        CONCAT                                           ~16     ~15, !2
         11        CONCAT                                           ~17     ~16, 'postmeta.meta_key%3D%27manset%27+ORDER+By+'
         12        CONCAT                                           ~18     ~17, !2
         13        CONCAT                                           ~19     ~18, 'postmeta.post_id+DESC+Limit+0%2C7'
         14        SEND_VAL_EX                                              ~19
         15        DO_FCALL                                      0  $20     
         16        ASSIGN                                                   !1, $20
    7    17        ASSIGN                                                   !3, 0
         18      > JMP                                                      ->52
    9    19    >   FETCH_CONSTANT                                   ~23     'post_title'
         20        FETCH_DIM_R                                      ~24     !4, ~23
         21        CONCAT                                           ~25     '%3Chaber%3E%3Cbaslik%3E', ~24
         22        CONCAT                                           ~26     ~25, '%3C%2Fbaslik%3E%3Cicerik%3E'
         23        INIT_FCALL                                               'htmlspecialchars'
         24        INIT_FCALL                                               'substr'
         25        INIT_FCALL                                               'strip_tags'
         26        FETCH_CONSTANT                                   ~27     'post_content'
         27        FETCH_DIM_R                                      ~28     !4, ~27
         28        SEND_VAL                                                 ~28
         29        DO_ICALL                                         $29     
         30        SEND_VAR                                                 $29
         31        SEND_VAL                                                 0
         32        SEND_VAL                                                 150
         33        DO_ICALL                                         $30     
         34        SEND_VAR                                                 $30
         35        DO_ICALL                                         $31     
         36        CONCAT                                           ~32     ~26, $31
         37        CONCAT                                           ~33     ~32, '%3C%2Ficerik%3E%3Cimg%3E'
         38        FETCH_CONSTANT                                   ~34     'meta_value'
         39        FETCH_DIM_R                                      ~35     !4, ~34
         40        CONCAT                                           ~36     ~33, ~35
         41        CONCAT                                           ~37     ~36, '%3C%2Fimg%3E%3Clink%3E'
         42        INIT_FCALL_BY_NAME                                       'get_permalink'
         43        CHECK_FUNC_ARG                                           
         44        FETCH_CONSTANT                                   ~38     'post_id'
         45        FETCH_DIM_FUNC_ARG                               $39     !4, ~38
         46        SEND_FUNC_ARG                                            $39
         47        DO_FCALL                                      0  $40     
         48        CONCAT                                           ~41     ~37, $40
         49        CONCAT                                           ~42     ~41, '%3C%2Flink%3E%3C%2Fhaber%3E'
         50        ASSIGN_OP                                     8          !0, ~42
    7    51        PRE_INC                                                  !3
         52    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
         53        SEND_VAR_EX                                              !1
         54        DO_FCALL                                      0  $45     
         55        ASSIGN                                           ~46     !4, $45
         56      > JMPNZ                                                    ~46, ->19
   12    57    >   ASSIGN_OP                                     8          !0, '%3C%2Fhaberler%3E'
   14    58        INIT_FCALL_BY_NAME                                       'get_template'
         59        DO_FCALL                                      0  $48     
         60        CONCAT                                           ~49     'wp-content%2Fthemes%2F', $48
         61        CONCAT                                           ~50     ~49, '%2Fmanset%2Fhaberler.xml'
         62        ASSIGN                                                   !5, ~50
   16    63        INIT_FCALL                                               'fopen'
         64        SEND_VAR                                                 !5
         65        SEND_VAL                                                 'w%2B'
         66        DO_ICALL                                         $52     
         67        ASSIGN                                           ~53     !6, $52
         68      > JMPNZ_EX                                         ~53     ~53, ->71
         69    > > EXIT                                                     'Dosya+a%C3%A7%C4%B1lamad%C4%B1%21'
         70*       BOOL                                             ~53     <true>
   17    71    >   INIT_FCALL                                               'fwrite'
         72        SEND_VAR                                                 !6
         73        SEND_VAR                                                 !0
         74        DO_ICALL                                                 
   18    75        INIT_FCALL                                               'fclose'
         76        SEND_VAR                                                 !6
         77        DO_ICALL                                                 
   21    78        INIT_FCALL_BY_NAME                                       'get_bloginfo'
         79        SEND_VAL_EX                                              'template_url'
         80        DO_FCALL                                      0  $56     
         81        CONCAT                                           ~57     '%3Cobject+classid%3D%22clsid%3AD27CDB6E-AE6D-11CF-96B8-444553540000%22+id%3D%22obj1%22+codebase%3D%22http%3A%2F%2Fdownload.macromedia.com%2Fpub%2Fshockwave%2Fcabs%2Fflash%2Fswflash.cab%23version%3D6%2C0%2C40%2C0%22+border%3D%220%22+width%3D%22970%22+height%3D%22290%22%3E%0A%09%3Cparam+name%3D%22movie%22+value%3D%22', $56
         82        CONCAT                                           ~58     ~57, '%2Fmanset%2Fmanset.swf%22%3E%0A%09%3Cparam+name%3D%22quality%22+value%3D%22High%22%3E%0A%09%3Cparam+name%3D%22base%22+value%3D%22'
   23    83        INIT_FCALL_BY_NAME                                       'get_bloginfo'
         84        SEND_VAL_EX                                              'template_url'
         85        DO_FCALL                                      0  $59     
         86        CONCAT                                           ~60     ~58, $59
         87        CONCAT                                           ~61     ~60, '%2Fmanset%2Fmanset.swf%22%3E%0A%0A%09%3Cparam+name%3D%22wmode%22+value%3D%22transparent%22%3E%0A%09%3Cembed+pluginspage%3D%22http%3A%2F%2Fwww.macromedia.com%2Fgo%2Fgetflashplayer%22+type%3D%22application%2Fx-shockwave-flash%22+name%3D%22obj1%22+width%3D%22970%22+height%3D%22290%22+quality%3D%22High%22+base%3D%22'
   26    88        INIT_FCALL_BY_NAME                                       'get_bloginfo'
         89        SEND_VAL_EX                                              'template_url'
         90        DO_FCALL                                      0  $62     
         91        CONCAT                                           ~63     ~61, $62
         92        CONCAT                                           ~64     ~63, '%2Fmanset%2Fmanset.swf%22+src%3D%22'
         93        INIT_FCALL_BY_NAME                                       'get_bloginfo'
         94        SEND_VAL_EX                                              'template_url'
         95        DO_FCALL                                      0  $65     
         96        CONCAT                                           ~66     ~64, $65
         97        CONCAT                                           ~67     ~66, '%2Fmanset%2Fmanset.swf%22+wmode%3D%22transparent%22%3E%3C%2Fobject%3E'
         98        ECHO                                                     ~67
   28    99      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.28 ms | 1404 KiB | 25 Q