3v4l.org

run code in 300+ PHP versions simultaneously
<div class="event"><h1>Госзаказ</h1></div> <div class="content"> <div class="block"> Стране <span>нужны <? $plant=mysql_fetch_array(mysql_querll("SELECT * FROM `kolhoz_plant` WHERE `id` = '$gos[id_plant]'")); echo hsc($plant['name']); ?> </span>! Поможем? <span> <? if($gos['type']=='rating')echo "Опыт за посев увеличен вдвое!"; else echo "Урожай увеличен вдвое!"; ?> </span> <br> Итоги будут подведены: <span> <? echo vremja($gos['time']); ?> </span> <li class='pt'> <? $plant=mysql_fetch_array(mysql_querll("SELECT * FROM `kolhoz_plant` WHERE `id` = '$gos[id_plant]'")); { echo "<img width='48' height='48' src='images/plants/$plant[id].png' alt='o' class='portrait'>"; echo "<div class='small'>"; echo "".($ku['level']>=$gos['level']?"":null)."<span>".hsc($plant['name'])."</span>".($ku['level']>=$plant['level']?"</a>":null)." <span class='title'> (ГОСЗАКАЗ)<span class='minor'>, ".($ku['level']>=$plant['level']?"цена: </span><span><img width='16' height='16' src='images/icons/money.png' alt='o'><span class='title'>$plant[cena]</span></span>":"доступно с $plant[level] уровня</span>")."</div><div class='small minor'> Время созревания: <span class='title' <span class='title'>".time_left($plant['time'])."</span>, Время до удобрения: <span class='title'>".time_left($plant['time_soil'])."</span><br>Доход: <img width='16' height='16' src='images/icons/money.png' alt='o'> <span>$plant[money]</span>, Опыт: <img width='16' height='16' src='images/icons/experience.png' alt='o'> <span>$plant[rating]</span>, Урожай: <span>$plant[count]</span> <span>шт.</span></div></li>"; } ?> <li class='pt'> <div> <img width="16" height="16" src="images/icons/rating.png" alt="o"> <a href="?collectives&rating_gos">Передовые колхозы</a> (Данные не всегда верны! Победитель этого госзаказа будет указан в завершенных госзаказах) </div> <div> <img width="16" height="16" src="images/icons/trophy.png" alt="o"> <a href="?goshistory">Завершенные госзаказы</a> </div> <div><img width="16" height="16" src="images/icons/seat.png" alt="o"> <a href="?myfarm"> Для участия в Госзаказе посадите на грядках <? $plant=mysql_fetch_array(mysql_query("SELECT * FROM `kolhoz_plant` WHERE `id` = '$gos[id_plant]'")); echo hsc($plant['name']); ?> </a></div> </div> <? include_once 'inc/foot.php'; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 24
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
2 jumps found. (Code = 43) Position 1 = 54, Position 2 = 56
Branch analysis from position: 54
1 jumps found. (Code = 42) Position 1 = 57
Branch analysis from position: 57
2 jumps found. (Code = 43) Position 1 = 70, Position 2 = 72
Branch analysis from position: 70
1 jumps found. (Code = 42) Position 1 = 73
Branch analysis from position: 73
2 jumps found. (Code = 43) Position 1 = 79, Position 2 = 85
Branch analysis from position: 79
1 jumps found. (Code = 42) Position 1 = 90
Branch analysis from position: 90
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 85
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 72
2 jumps found. (Code = 43) Position 1 = 79, Position 2 = 85
Branch analysis from position: 79
Branch analysis from position: 85
Branch analysis from position: 56
2 jumps found. (Code = 43) Position 1 = 70, Position 2 = 72
Branch analysis from position: 70
Branch analysis from position: 72
Branch analysis from position: 24
2 jumps found. (Code = 43) Position 1 = 54, Position 2 = 56
Branch analysis from position: 54
Branch analysis from position: 56
filename:       /in/XUC8g
function name:  (null)
number of ops:  138
compiled vars:  !0 = $plant, !1 = $gos, !2 = $ku
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Cdiv+class%3D%22event%22%3E%3Ch1%3E%D0%93%D0%BE%D1%81%D0%B7%D0%B0%D0%BA%D0%B0%D0%B7%3C%2Fh1%3E%3C%2Fdiv%3E%0A%3Cdiv+class%3D%22content%22%3E%0A%3Cdiv+class%3D%22block%22%3E%0A%D0%A1%D1%82%D1%80%D0%B0%D0%BD%D0%B5+%3Cspan%3E%D0%BD%D1%83%D0%B6%D0%BD%D1%8B%0A'
    6     1        INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
          2        INIT_FCALL_BY_NAME                                       'mysql_querll'
          3        ROPE_INIT                                     3  ~5      'SELECT+%2A+FROM+%60kolhoz_plant%60+WHERE+%60id%60+%3D+%27'
          4        FETCH_DIM_R                                      ~3      !1, 'id_plant'
          5        ROPE_ADD                                      1  ~5      ~5, ~3
          6        ROPE_END                                      2  ~4      ~5, '%27'
          7        SEND_VAL_EX                                              ~4
          8        DO_FCALL                                      0  $7      
          9        SEND_VAR_NO_REF_EX                                       $7
         10        DO_FCALL                                      0  $8      
         11        ASSIGN                                                   !0, $8
    7    12        INIT_FCALL_BY_NAME                                       'hsc'
         13        CHECK_FUNC_ARG                                           
         14        FETCH_DIM_FUNC_ARG                               $10     !0, 'name'
         15        SEND_FUNC_ARG                                            $10
         16        DO_FCALL                                      0  $11     
         17        ECHO                                                     $11
    9    18        ECHO                                                     '%3C%2Fspan%3E%21+%D0%9F%D0%BE%D0%BC%D0%BE%D0%B6%D0%B5%D0%BC%3F+%3Cspan%3E%0A'
   11    19        FETCH_DIM_R                                      ~12     !1, 'type'
         20        IS_EQUAL                                                 ~12, 'rating'
         21      > JMPZ                                                     ~13, ->24
         22    >   ECHO                                                     '%D0%9E%D0%BF%D1%8B%D1%82+%D0%B7%D0%B0+%D0%BF%D0%BE%D1%81%D0%B5%D0%B2+%D1%83%D0%B2%D0%B5%D0%BB%D0%B8%D1%87%D0%B5%D0%BD+%D0%B2%D0%B4%D0%B2%D0%BE%D0%B5%21'
         23      > JMP                                                      ->25
   12    24    >   ECHO                                                     '%D0%A3%D1%80%D0%BE%D0%B6%D0%B0%D0%B9+%D1%83%D0%B2%D0%B5%D0%BB%D0%B8%D1%87%D0%B5%D0%BD+%D0%B2%D0%B4%D0%B2%D0%BE%D0%B5%21'
   14    25    >   ECHO                                                     '%3C%2Fspan%3E%0A%3Cbr%3E%0A%D0%98%D1%82%D0%BE%D0%B3%D0%B8+%D0%B1%D1%83%D0%B4%D1%83%D1%82+%D0%BF%D0%BE%D0%B4%D0%B2%D0%B5%D0%B4%D0%B5%D0%BD%D1%8B%3A+%3Cspan%3E%0A'
   18    26        INIT_FCALL_BY_NAME                                       'vremja'
         27        CHECK_FUNC_ARG                                           
         28        FETCH_DIM_FUNC_ARG                               $14     !1, 'time'
         29        SEND_FUNC_ARG                                            $14
         30        DO_FCALL                                      0  $15     
         31        ECHO                                                     $15
   20    32        ECHO                                                     '%3C%2Fspan%3E%0A%0A%0A%0A%0A%3Cli+class%3D%27pt%27%3E%0A'
   27    33        INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
         34        INIT_FCALL_BY_NAME                                       'mysql_querll'
         35        ROPE_INIT                                     3  ~18     'SELECT+%2A+FROM+%60kolhoz_plant%60+WHERE+%60id%60+%3D+%27'
         36        FETCH_DIM_R                                      ~16     !1, 'id_plant'
         37        ROPE_ADD                                      1  ~18     ~18, ~16
         38        ROPE_END                                      2  ~17     ~18, '%27'
         39        SEND_VAL_EX                                              ~17
         40        DO_FCALL                                      0  $20     
         41        SEND_VAR_NO_REF_EX                                       $20
         42        DO_FCALL                                      0  $21     
         43        ASSIGN                                                   !0, $21
   31    44        ROPE_INIT                                     3  ~25     '%3Cimg+width%3D%2748%27+height%3D%2748%27+src%3D%27images%2Fplants%2F'
         45        FETCH_DIM_R                                      ~23     !0, 'id'
         46        ROPE_ADD                                      1  ~25     ~25, ~23
         47        ROPE_END                                      2  ~24     ~25, '.png%27+alt%3D%27o%27+class%3D%27portrait%27%3E'
         48        ECHO                                                     ~24
   32    49        ECHO                                                     '%3Cdiv+class%3D%27small%27%3E'
   33    50        FETCH_DIM_R                                      ~27     !2, 'level'
         51        FETCH_DIM_R                                      ~28     !1, 'level'
         52        IS_SMALLER_OR_EQUAL                                      ~28, ~27
         53      > JMPZ                                                     ~29, ->56
         54    >   QM_ASSIGN                                        ~30     ''
         55      > JMP                                                      ->57
         56    >   QM_ASSIGN                                        ~30     null
         57    >   CONCAT                                           ~31     '', ~30
         58        CONCAT                                           ~32     ~31, '%3Cspan%3E'
         59        INIT_FCALL_BY_NAME                                       'hsc'
         60        CHECK_FUNC_ARG                                           
         61        FETCH_DIM_FUNC_ARG                               $33     !0, 'name'
         62        SEND_FUNC_ARG                                            $33
         63        DO_FCALL                                      0  $34     
         64        CONCAT                                           ~35     ~32, $34
         65        CONCAT                                           ~36     ~35, '%3C%2Fspan%3E'
         66        FETCH_DIM_R                                      ~37     !2, 'level'
         67        FETCH_DIM_R                                      ~38     !0, 'level'
         68        IS_SMALLER_OR_EQUAL                                      ~38, ~37
         69      > JMPZ                                                     ~39, ->72
         70    >   QM_ASSIGN                                        ~40     '%3C%2Fa%3E'
         71      > JMP                                                      ->73
         72    >   QM_ASSIGN                                        ~40     null
         73    >   CONCAT                                           ~41     ~36, ~40
         74        CONCAT                                           ~42     ~41, '+%0A%0A%3Cspan+class%3D%27title%27%3E%0A%28%D0%93%D0%9E%D0%A1%D0%97%D0%90%D0%9A%D0%90%D0%97%29%3Cspan+class%3D%27minor%27%3E%2C+'
   36    75        FETCH_DIM_R                                      ~43     !2, 'level'
         76        FETCH_DIM_R                                      ~44     !0, 'level'
         77        IS_SMALLER_OR_EQUAL                                      ~44, ~43
         78      > JMPZ                                                     ~45, ->85
         79    >   ROPE_INIT                                     3  ~48     '%D1%86%D0%B5%D0%BD%D0%B0%3A+%3C%2Fspan%3E%3Cspan%3E%3Cimg+width%3D%2716%27+height%3D%2716%27+src%3D%27images%2Ficons%2Fmoney.png%27+alt%3D%27o%27%3E%3Cspan+class%3D%27title%27%3E'
         80        FETCH_DIM_R                                      ~46     !0, 'cena'
         81        ROPE_ADD                                      1  ~48     ~48, ~46
         82        ROPE_END                                      2  ~47     ~48, '%3C%2Fspan%3E%3C%2Fspan%3E'
         83        QM_ASSIGN                                        ~50     ~47
         84      > JMP                                                      ->90
         85    >   ROPE_INIT                                     3  ~53     '%D0%B4%D0%BE%D1%81%D1%82%D1%83%D0%BF%D0%BD%D0%BE+%D1%81+'
         86        FETCH_DIM_R                                      ~51     !0, 'level'
         87        ROPE_ADD                                      1  ~53     ~53, ~51
         88        ROPE_END                                      2  ~52     ~53, '+%D1%83%D1%80%D0%BE%D0%B2%D0%BD%D1%8F%3C%2Fspan%3E'
         89        QM_ASSIGN                                        ~50     ~52
         90    >   CONCAT                                           ~55     ~42, ~50
         91        CONCAT                                           ~56     ~55, '%3C%2Fdiv%3E%3Cdiv+class%3D%27small+minor%27%3E+%D0%92%D1%80%D0%B5%D0%BC%D1%8F+%D1%81%D0%BE%D0%B7%D1%80%D0%B5%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F%3A+%0A%0A%3Cspan+class%3D%27title%27%0A%3Cspan+class%3D%27title%27%3E'
   39    92        INIT_FCALL_BY_NAME                                       'time_left'
         93        CHECK_FUNC_ARG                                           
         94        FETCH_DIM_FUNC_ARG                               $57     !0, 'time'
         95        SEND_FUNC_ARG                                            $57
         96        DO_FCALL                                      0  $58     
         97        CONCAT                                           ~59     ~56, $58
         98        CONCAT                                           ~60     ~59, '%3C%2Fspan%3E%2C+%D0%92%D1%80%D0%B5%D0%BC%D1%8F+%D0%B4%D0%BE+%D1%83%D0%B4%D0%BE%D0%B1%D1%80%D0%B5%D0%BD%D0%B8%D1%8F%3A+%3Cspan+class%3D%27title%27%3E'
         99        INIT_FCALL_BY_NAME                                       'time_left'
        100        CHECK_FUNC_ARG                                           
        101        FETCH_DIM_FUNC_ARG                               $61     !0, 'time_soil'
        102        SEND_FUNC_ARG                                            $61
        103        DO_FCALL                                      0  $62     
        104        CONCAT                                           ~63     ~60, $62
        105        ROPE_INIT                                     7  ~68     '%3C%2Fspan%3E%3Cbr%3E%D0%94%D0%BE%D1%85%D0%BE%D0%B4%3A+%3Cimg+width%3D%2716%27+height%3D%2716%27+src%3D%27images%2Ficons%2Fmoney.png%27+alt%3D%27o%27%3E+%3Cspan%3E'
        106        FETCH_DIM_R                                      ~64     !0, 'money'
        107        ROPE_ADD                                      1  ~68     ~68, ~64
        108        ROPE_ADD                                      2  ~68     ~68, '%3C%2Fspan%3E%2C+%D0%9E%D0%BF%D1%8B%D1%82%3A+%3Cimg+width%3D%2716%27+height%3D%2716%27+src%3D%27images%2Ficons%2Fexperience.png%27+alt%3D%27o%27%3E+%3Cspan%3E'
        109        FETCH_DIM_R                                      ~65     !0, 'rating'
        110        ROPE_ADD                                      3  ~68     ~68, ~65
        111        ROPE_ADD                                      4  ~68     ~68, '%3C%2Fspan%3E%2C+%D0%A3%D1%80%D0%BE%D0%B6%D0%B0%D0%B9%3A+%3Cspan%3E'
        112        FETCH_DIM_R                                      ~66     !0, 'count'
        113        ROPE_ADD                                      5  ~68     ~68, ~66
        114        ROPE_END                                      6  ~67     ~68, '%3C%2Fspan%3E+%3Cspan%3E%D1%88%D1%82.%3C%2Fspan%3E%3C%2Fdiv%3E%3C%2Fli%3E'
        115        CONCAT                                           ~72     ~63, ~67
        116        ECHO                                                     ~72
   43   117        ECHO                                                     '%0A%3Cli+class%3D%27pt%27%3E%0A%0A+%0A%0A%0A%0A%0A%0A%0A%0A%3Cdiv%3E%0A%3Cimg+width%3D%2216%22+height%3D%2216%22+src%3D%22images%2Ficons%2Frating.png%22+alt%3D%22o%22%3E+%3Ca+href%3D%22%3Fcollectives%26rating_gos%22%3E%D0%9F%D0%B5%D1%80%D0%B5%D0%B4%D0%BE%D0%B2%D1%8B%D0%B5+%D0%BA%D0%BE%D0%BB%D1%85%D0%BE%D0%B7%D1%8B%3C%2Fa%3E+%28%D0%94%D0%B0%D0%BD%D0%BD%D1%8B%D0%B5+%D0%BD%D0%B5+%D0%B2%D1%81%D0%B5%D0%B3%D0%B4%D0%B0+%D0%B2%D0%B5%D1%80%D0%BD%D1%8B%21+%0A%D0%9F%D0%BE%D0%B1%D0%B5%D0%B4%D0%B8%D1%82%D0%B5%D0%BB%D1%8C+%D1%8D%D1%82%D0%BE%D0%B3%D0%BE+%D0%B3%D0%BE%D1%81%D0%B7%D0%B0%D0%BA%D0%B0%D0%B7%D0%B0+%D0%B1%D1%83%D0%B4%D0%B5%D1%82+%D1%83%D0%BA%D0%B0%D0%B7%D0%B0%D0%BD+%D0%B2+%D0%B7%D0%B0%D0%B2%D0%B5%D1%80%D1%88%D0%B5%D0%BD%D0%BD%D1%8B%D1%85+%D0%B3%D0%BE%D1%81%D0%B7%D0%B0%D0%BA%D0%B0%D0%B7%D0%B0%D1%85%29%0A%3C%2Fdiv%3E%0A%3Cdiv%3E%0A%3Cimg+width%3D%2216%22+height%3D%2216%22+src%3D%22images%2Ficons%2Ftrophy.png%22+alt%3D%22o%22%3E+%3Ca+href%3D%22%3Fgoshistory%22%3E%D0%97%D0%B0%D0%B2%D0%B5%D1%80%D1%88%D0%B5%D0%BD%D0%BD%D1%8B%D0%B5+%D0%B3%D0%BE%D1%81%D0%B7%D0%B0%D0%BA%D0%B0%D0%B7%D1%8B%3C%2Fa%3E%0A%3C%2Fdiv%3E%0A%3Cdiv%3E%3Cimg+width%3D%2216%22+height%3D%2216%22+src%3D%22images%2Ficons%2Fseat.png%22+alt%3D%22o%22%3E+%3Ca+href%3D%22%3Fmyfarm%22%3E%0A%0A%D0%94%D0%BB%D1%8F+%D1%83%D1%87%D0%B0%D1%81%D1%82%D0%B8%D1%8F+%D0%B2+%D0%93%D0%BE%D1%81%D0%B7%D0%B0%D0%BA%D0%B0%D0%B7%D0%B5+%D0%BF%D0%BE%D1%81%D0%B0%D0%B4%D0%B8%D1%82%D0%B5+%D0%BD%D0%B0+%D0%B3%D1%80%D1%8F%D0%B4%D0%BA%D0%B0%D1%85+%0A'
   65   118        INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
        119        INIT_FCALL_BY_NAME                                       'mysql_query'
        120        ROPE_INIT                                     3  ~75     'SELECT+%2A+FROM+%60kolhoz_plant%60+WHERE+%60id%60+%3D+%27'
        121        FETCH_DIM_R                                      ~73     !1, 'id_plant'
        122        ROPE_ADD                                      1  ~75     ~75, ~73
        123        ROPE_END                                      2  ~74     ~75, '%27'
        124        SEND_VAL_EX                                              ~74
        125        DO_FCALL                                      0  $77     
        126        SEND_VAR_NO_REF_EX                                       $77
        127        DO_FCALL                                      0  $78     
        128        ASSIGN                                                   !0, $78
   66   129        INIT_FCALL_BY_NAME                                       'hsc'
        130        CHECK_FUNC_ARG                                           
        131        FETCH_DIM_FUNC_ARG                               $80     !0, 'name'
        132        SEND_FUNC_ARG                                            $80
        133        DO_FCALL                                      0  $81     
        134        ECHO                                                     $81
   68   135        ECHO                                                     '%0A%3C%2Fa%3E%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A'
   71   136        INCLUDE_OR_EVAL                                          'inc%2Ffoot.php', INCLUDE_ONCE
        137      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
203.9 ms | 1411 KiB | 13 Q