3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** Подключение **/ include('../config/config_global.php'); // тут лежат данные /** Ошибки **/ if(empty($_REQUEST['id'])){die("error_synt");} /** Функции **/ function str_count($str, $source) { $arr=explode($str,$source); return(count($arr)-1); } function call_film($url){ $json = file_get_contents($url); $json = json_decode($json, true); return $json; } function obrabotkatextmalbuk($str) { $str = strtolower($str); $search = array( 'Й','Ц','У','К','Е','Н','Г','Ш','Щ','З','Х','Ъ','Ф','Ы','В','А','П','Р','О','Л','Д','Ж','Э','Я','Ч','С','М','И','Т','Ь','Б','Ю','Ё'); $replace = array( 'й','ц','у','к','е','н','г','ш','щ','з','х','ъ','ф','ы','в','а','п','р','о','л','д','ж','э','я','ч','с','м','и','т','ь','б','ю','ё'); $str = str_replace($search, $replace, $str); return $str; } function obrabotkatextspecsimv($text) { $text = preg_replace ("/[^A-Za-zАаБбВвГгДдЕеЁёЖжЗзИиЙйКкЛлМмНнОоПпРрСсТтУуФфХхЦцЧчШшЩщЪъЫыЬьЭэЮюЯя0-9\s]/" ,"" ,$text); return $text; } function obrabotkatextarr($text){ $text = preg_split("/[\s,]+/", $text); return $text; } function vk_enter($text){ $text = urlencode($text); $text = str_replace('%5Cr%5C','%0A',$text); $text = urldecode($text); return $text; } /** Основное **/ $id = urlencode($_REQUEST['id']); $id = call_film(_PATH_.'pars_kinopoisk/pars_prov_1.php?id='.$id); preg_match('#([0-9]{2,7})#',$id,$m); /** Постер **/ $pars_img = call_film(_PATH_.'pars_img/img.php?album_id='.$album_id.'&group_id='.$group_id.'&url=http://st.kp.yandex.net/images/film_big/'.$m[0].'.jpg'); $pars_img = $pars_img[0]; $pid = $pars_img['pid']; $owner_id = $pars_img['owner_id']; $photo = 'photo'.$owner_id.'_'.$pid; /** Инофрмация **/ $pars_kinopoisk = call_film(_PATH_.'pars_kinopoisk/film.php?id='.$m[0]); $name_film = $pars_kinopoisk['Name_film']; //имя фильма $desk_film = $pars_kinopoisk['Desk_film']; //описание фильма $short_desk_film = $pars_kinopoisk['Short_desk_film']; //крткое описание фильма $short_desk_film2 = $pars_kinopoisk['Short_desk_film2']; //крткое описание фильма2 $keyyear_film= array_search('год', $short_desk_film2); $year_film = obrabotkatextarr($short_desk_film[$keyyear_film]); //год $year_film = $year_film['1']; $keycountry_film = array_search('страна', $short_desk_film2); $country_film = obrabotkatextarr($short_desk_film[$keycountry_film]); //страна $country_film = $country_film['1']; $janrs = $pars_kinopoisk['janrs']; //жанр $janrs = obrabotkatextarr($janrs); //жанр $janrscount = count($janrs); if ($janrscount >1) array_pop($janrs); $janrs2 = $janrs; $janrs = implode(", ", $janrs); foreach ($janrs2 as &$text) { $text = mb_convert_case($text, MB_CASE_TITLE, "UTF-8"); $text = '#'.$text.'@film_ru'; } $janrs2 = implode(" ", $janrs2); $text = vk_enter($name_film.' ('.$year_film.') '.$country_film.'\r\ \r\Жанр: '.$janrs.'.\r\ \r\Описание: '.$desk_film.'\r\ \r\#'.$country_film.'@film_ru #Film@film_ru #'.$year_film.'_year@film_ru '.$janrs2); /** Видео **/ $strfxy = $_REQUEST['video']; $strfxy = str_replace(array("videos"), "lkfjg", $strfxy); $proverkavideoy = str_count('video', $strfxy); if ($proverkavideoy >= 1) { $videoy = explode('video', $strfxy, 2); $videoy = $videoy['1']; $video_ry = substr($videoy, 0, 19); $proverkazny = str_count('-', $video_ry); if ($proverkazny >= 1) $videoy = substr($video_ry, 0, 19); else $videoy = $video_ry; } if ($videoy <> null) $video_poly = "video".$videoy; $video = $video_poly; /** Vk_api **/ $v = new Vk($config); $constrik = $photo.','.$video; $response = $v->api('wall.post', array( 'message' => $text, 'attachments' => $constrik, 'owner_id' => $owner_id_con)); $my_token_stat = $v->api('account.getAppPermissions', array( )); $url = $v->get_code_token(); if ($my_token_stat['0']){echo('Token okay ');}else{ echo('Token not okay, reload you token <a href="'.$url.'">Reload token</a>');} //$get_token = $v->get_token('b193b74a02942ae15d'); /** Демонстрация: **/ $t = new lime_test(1); $id_post_vk = $response['post_id']; $error_post_vk = $response['error']; if ($error_post_vk) {$t->error('error',$line='92');} if ($id_post_vk) {$t->isa_ok($id_post_vk, 'integer', 'return id');} print_var($response); //echo $debug;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 96, Position 2 = 99
Branch analysis from position: 96
2 jumps found. (Code = 125) Position 1 = 106, Position 2 = 117
Branch analysis from position: 106
2 jumps found. (Code = 126) Position 1 = 107, Position 2 = 117
Branch analysis from position: 107
1 jumps found. (Code = 42) Position 1 = 106
Branch analysis from position: 106
Branch analysis from position: 117
2 jumps found. (Code = 43) Position 1 = 157, Position 2 = 186
Branch analysis from position: 157
2 jumps found. (Code = 43) Position 1 = 178, Position 2 = 185
Branch analysis from position: 178
1 jumps found. (Code = 42) Position 1 = 186
Branch analysis from position: 186
2 jumps found. (Code = 43) Position 1 = 188, Position 2 = 190
Branch analysis from position: 188
2 jumps found. (Code = 43) Position 1 = 216, Position 2 = 218
Branch analysis from position: 216
1 jumps found. (Code = 42) Position 1 = 221
Branch analysis from position: 221
2 jumps found. (Code = 43) Position 1 = 230, Position 2 = 235
Branch analysis from position: 230
2 jumps found. (Code = 43) Position 1 = 236, Position 2 = 241
Branch analysis from position: 236
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 241
Branch analysis from position: 235
Branch analysis from position: 218
2 jumps found. (Code = 43) Position 1 = 230, Position 2 = 235
Branch analysis from position: 230
Branch analysis from position: 235
Branch analysis from position: 190
Branch analysis from position: 185
2 jumps found. (Code = 43) Position 1 = 188, Position 2 = 190
Branch analysis from position: 188
Branch analysis from position: 190
Branch analysis from position: 186
Branch analysis from position: 117
Branch analysis from position: 99
filename:       /in/lFBji
function name:  (null)
number of ops:  245
compiled vars:  !0 = $id, !1 = $m, !2 = $pars_img, !3 = $album_id, !4 = $group_id, !5 = $pid, !6 = $owner_id, !7 = $photo, !8 = $pars_kinopoisk, !9 = $name_film, !10 = $desk_film, !11 = $short_desk_film, !12 = $short_desk_film2, !13 = $keyyear_film, !14 = $year_film, !15 = $keycountry_film, !16 = $country_film, !17 = $janrs, !18 = $janrscount, !19 = $janrs2, !20 = $text, !21 = $strfxy, !22 = $proverkavideoy, !23 = $videoy, !24 = $video_ry, !25 = $proverkazny, !26 = $video_poly, !27 = $video, !28 = $v, !29 = $config, !30 = $constrik, !31 = $response, !32 = $owner_id_con, !33 = $my_token_stat, !34 = $url, !35 = $t, !36 = $id_post_vk, !37 = $error_post_vk, !38 = $line
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INCLUDE_OR_EVAL                                          '..%2Fconfig%2Fconfig_global.php', INCLUDE
    5     1        FETCH_IS                                         ~40     '_REQUEST'
          2        ISSET_ISEMPTY_DIM_OBJ                         1          ~40, 'id'
          3      > JMPZ                                                     ~41, ->5
          4    > > EXIT                                                     'error_synt'
   41     5    >   INIT_FCALL                                               'urlencode'
          6        FETCH_R                      global              ~42     '_REQUEST'
          7        FETCH_DIM_R                                      ~43     ~42, 'id'
          8        SEND_VAL                                                 ~43
          9        DO_ICALL                                         $44     
         10        ASSIGN                                                   !0, $44
   42    11        INIT_FCALL                                               'call_film'
         12        FETCH_CONSTANT                                   ~46     '_PATH_'
         13        CONCAT                                           ~47     ~46, 'pars_kinopoisk%2Fpars_prov_1.php%3Fid%3D'
         14        CONCAT                                           ~48     ~47, !0
         15        SEND_VAL                                                 ~48
         16        DO_FCALL                                      0  $49     
         17        ASSIGN                                                   !0, $49
   43    18        INIT_FCALL                                               'preg_match'
         19        SEND_VAL                                                 '%23%28%5B0-9%5D%7B2%2C7%7D%29%23'
         20        SEND_VAR                                                 !0
         21        SEND_REF                                                 !1
         22        DO_ICALL                                                 
   45    23        INIT_FCALL                                               'call_film'
         24        FETCH_CONSTANT                                   ~52     '_PATH_'
         25        CONCAT                                           ~53     ~52, 'pars_img%2Fimg.php%3Falbum_id%3D'
         26        CONCAT                                           ~54     ~53, !3
         27        CONCAT                                           ~55     ~54, '%26group_id%3D'
         28        CONCAT                                           ~56     ~55, !4
         29        CONCAT                                           ~57     ~56, '%26url%3Dhttp%3A%2F%2Fst.kp.yandex.net%2Fimages%2Ffilm_big%2F'
         30        FETCH_DIM_R                                      ~58     !1, 0
         31        CONCAT                                           ~59     ~57, ~58
         32        CONCAT                                           ~60     ~59, '.jpg'
         33        SEND_VAL                                                 ~60
         34        DO_FCALL                                      0  $61     
         35        ASSIGN                                                   !2, $61
   46    36        FETCH_DIM_R                                      ~63     !2, 0
         37        ASSIGN                                                   !2, ~63
   47    38        FETCH_DIM_R                                      ~65     !2, 'pid'
         39        ASSIGN                                                   !5, ~65
   48    40        FETCH_DIM_R                                      ~67     !2, 'owner_id'
         41        ASSIGN                                                   !6, ~67
   49    42        CONCAT                                           ~69     'photo', !6
         43        CONCAT                                           ~70     ~69, '_'
         44        CONCAT                                           ~71     ~70, !5
         45        ASSIGN                                                   !7, ~71
   51    46        INIT_FCALL                                               'call_film'
         47        FETCH_CONSTANT                                   ~73     '_PATH_'
         48        CONCAT                                           ~74     ~73, 'pars_kinopoisk%2Ffilm.php%3Fid%3D'
         49        FETCH_DIM_R                                      ~75     !1, 0
         50        CONCAT                                           ~76     ~74, ~75
         51        SEND_VAL                                                 ~76
         52        DO_FCALL                                      0  $77     
         53        ASSIGN                                                   !8, $77
   52    54        FETCH_DIM_R                                      ~79     !8, 'Name_film'
         55        ASSIGN                                                   !9, ~79
   53    56        FETCH_DIM_R                                      ~81     !8, 'Desk_film'
         57        ASSIGN                                                   !10, ~81
   54    58        FETCH_DIM_R                                      ~83     !8, 'Short_desk_film'
         59        ASSIGN                                                   !11, ~83
   55    60        FETCH_DIM_R                                      ~85     !8, 'Short_desk_film2'
         61        ASSIGN                                                   !12, ~85
   56    62        INIT_FCALL                                               'array_search'
         63        SEND_VAL                                                 '%D0%B3%D0%BE%D0%B4'
         64        SEND_VAR                                                 !12
         65        DO_ICALL                                         $87     
         66        ASSIGN                                                   !13, $87
   57    67        INIT_FCALL                                               'obrabotkatextarr'
         68        FETCH_DIM_R                                      ~89     !11, !13
         69        SEND_VAL                                                 ~89
         70        DO_FCALL                                      0  $90     
         71        ASSIGN                                                   !14, $90
   58    72        FETCH_DIM_R                                      ~92     !14, 1
         73        ASSIGN                                                   !14, ~92
   59    74        INIT_FCALL                                               'array_search'
         75        SEND_VAL                                                 '%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B0'
         76        SEND_VAR                                                 !12
         77        DO_ICALL                                         $94     
         78        ASSIGN                                                   !15, $94
   60    79        INIT_FCALL                                               'obrabotkatextarr'
         80        FETCH_DIM_R                                      ~96     !11, !15
         81        SEND_VAL                                                 ~96
         82        DO_FCALL                                      0  $97     
         83        ASSIGN                                                   !16, $97
   61    84        FETCH_DIM_R                                      ~99     !16, 1
         85        ASSIGN                                                   !16, ~99
   62    86        FETCH_DIM_R                                      ~101    !8, 'janrs'
         87        ASSIGN                                                   !17, ~101
   63    88        INIT_FCALL                                               'obrabotkatextarr'
         89        SEND_VAR                                                 !17
         90        DO_FCALL                                      0  $103    
         91        ASSIGN                                                   !17, $103
   64    92        COUNT                                            ~105    !17
         93        ASSIGN                                                   !18, ~105
   65    94        IS_SMALLER                                               1, !18
         95      > JMPZ                                                     ~107, ->99
         96    >   INIT_FCALL                                               'array_pop'
         97        SEND_REF                                                 !17
         98        DO_ICALL                                                 
   66    99    >   ASSIGN                                                   !19, !17
   67   100        INIT_FCALL                                               'implode'
        101        SEND_VAL                                                 '%2C+'
        102        SEND_VAR                                                 !17
        103        DO_ICALL                                         $110    
        104        ASSIGN                                                   !17, $110
   68   105      > FE_RESET_RW                                      $112    !19, ->117
        106    > > FE_FETCH_RW                                              $112, !20, ->117
   69   107    >   INIT_FCALL                                               'mb_convert_case'
        108        SEND_VAR                                                 !20
        109        SEND_VAL                                                 2
        110        SEND_VAL                                                 'UTF-8'
        111        DO_ICALL                                         $113    
        112        ASSIGN                                                   !20, $113
   70   113        CONCAT                                           ~115    '%23', !20
        114        CONCAT                                           ~116    ~115, '%40film_ru'
        115        ASSIGN                                                   !20, ~116
   68   116      > JMP                                                      ->106
        117    >   FE_FREE                                                  $112
   72   118        INIT_FCALL                                               'implode'
        119        SEND_VAL                                                 '+'
        120        SEND_VAR                                                 !19
        121        DO_ICALL                                         $118    
        122        ASSIGN                                                   !19, $118
   73   123        INIT_FCALL                                               'vk_enter'
        124        CONCAT                                           ~120    !9, '+%28'
        125        CONCAT                                           ~121    ~120, !14
        126        CONCAT                                           ~122    ~121, '%29+'
        127        CONCAT                                           ~123    ~122, !16
        128        CONCAT                                           ~124    ~123, '%5Cr%5C+%5Cr%5C%D0%96%D0%B0%D0%BD%D1%80%3A+'
        129        CONCAT                                           ~125    ~124, !17
        130        CONCAT                                           ~126    ~125, '.%5Cr%5C+%5Cr%5C%D0%9E%D0%BF%D0%B8%D1%81%D0%B0%D0%BD%D0%B8%D0%B5%3A+'
        131        CONCAT                                           ~127    ~126, !10
        132        CONCAT                                           ~128    ~127, '%5Cr%5C+%5Cr%5C%23'
        133        CONCAT                                           ~129    ~128, !16
        134        CONCAT                                           ~130    ~129, '%40film_ru+%23Film%40film_ru+%23'
        135        CONCAT                                           ~131    ~130, !14
        136        CONCAT                                           ~132    ~131, '_year%40film_ru+'
        137        CONCAT                                           ~133    ~132, !19
        138        SEND_VAL                                                 ~133
        139        DO_FCALL                                      0  $134    
        140        ASSIGN                                                   !20, $134
   75   141        FETCH_R                      global              ~136    '_REQUEST'
        142        FETCH_DIM_R                                      ~137    ~136, 'video'
        143        ASSIGN                                                   !21, ~137
   76   144        INIT_FCALL                                               'str_replace'
        145        SEND_VAL                                                 <array>
        146        SEND_VAL                                                 'lkfjg'
        147        SEND_VAR                                                 !21
        148        DO_ICALL                                         $139    
        149        ASSIGN                                                   !21, $139
   77   150        INIT_FCALL                                               'str_count'
        151        SEND_VAL                                                 'video'
        152        SEND_VAR                                                 !21
        153        DO_FCALL                                      0  $141    
        154        ASSIGN                                                   !22, $141
   78   155        IS_SMALLER_OR_EQUAL                                      1, !22
        156      > JMPZ                                                     ~143, ->186
   79   157    >   INIT_FCALL                                               'explode'
        158        SEND_VAL                                                 'video'
        159        SEND_VAR                                                 !21
        160        SEND_VAL                                                 2
        161        DO_ICALL                                         $144    
        162        ASSIGN                                                   !23, $144
   80   163        FETCH_DIM_R                                      ~146    !23, 1
        164        ASSIGN                                                   !23, ~146
   81   165        INIT_FCALL                                               'substr'
        166        SEND_VAR                                                 !23
        167        SEND_VAL                                                 0
        168        SEND_VAL                                                 19
        169        DO_ICALL                                         $148    
        170        ASSIGN                                                   !24, $148
   83   171        INIT_FCALL                                               'str_count'
        172        SEND_VAL                                                 '-'
        173        SEND_VAR                                                 !24
        174        DO_FCALL                                      0  $150    
        175        ASSIGN                                                   !25, $150
   84   176        IS_SMALLER_OR_EQUAL                                      1, !25
        177      > JMPZ                                                     ~152, ->185
        178    >   INIT_FCALL                                               'substr'
        179        SEND_VAR                                                 !24
        180        SEND_VAL                                                 0
        181        SEND_VAL                                                 19
        182        DO_ICALL                                         $153    
        183        ASSIGN                                                   !23, $153
        184      > JMP                                                      ->186
   85   185    >   ASSIGN                                                   !23, !24
   87   186    >   IS_NOT_EQUAL                                             !23, null
        187      > JMPZ                                                     ~156, ->190
        188    >   CONCAT                                           ~157    'video', !23
        189        ASSIGN                                                   !26, ~157
   88   190    >   ASSIGN                                                   !27, !26
   90   191        NEW                                              $160    'Vk'
        192        SEND_VAR_EX                                              !29
        193        DO_FCALL                                      0          
        194        ASSIGN                                                   !28, $160
   91   195        CONCAT                                           ~163    !7, '%2C'
        196        CONCAT                                           ~164    ~163, !27
        197        ASSIGN                                                   !30, ~164
   92   198        INIT_METHOD_CALL                                         !28, 'api'
        199        SEND_VAL_EX                                              'wall.post'
   93   200        INIT_ARRAY                                       ~166    !20, 'message'
   94   201        ADD_ARRAY_ELEMENT                                ~166    !30, 'attachments'
   95   202        ADD_ARRAY_ELEMENT                                ~166    !32, 'owner_id'
        203        SEND_VAL_EX                                              ~166
        204        DO_FCALL                                      0  $167    
   92   205        ASSIGN                                                   !31, $167
   96   206        INIT_METHOD_CALL                                         !28, 'api'
        207        SEND_VAL_EX                                              'account.getAppPermissions'
        208        SEND_VAL_EX                                              <array>
        209        DO_FCALL                                      0  $169    
        210        ASSIGN                                                   !33, $169
   97   211        INIT_METHOD_CALL                                         !28, 'get_code_token'
        212        DO_FCALL                                      0  $171    
        213        ASSIGN                                                   !34, $171
   98   214        FETCH_DIM_R                                      ~173    !33, 0
        215      > JMPZ                                                     ~173, ->218
        216    >   ECHO                                                     'Token+okay+'
        217      > JMP                                                      ->221
        218    >   CONCAT                                           ~174    'Token+not+okay%2C+reload+you+token+%3Ca+href%3D%22', !34
        219        CONCAT                                           ~175    ~174, '%22%3EReload+token%3C%2Fa%3E'
        220        ECHO                                                     ~175
  101   221    >   NEW                                              $176    'lime_test'
        222        SEND_VAL_EX                                              1
        223        DO_FCALL                                      0          
        224        ASSIGN                                                   !35, $176
  102   225        FETCH_DIM_R                                      ~179    !31, 'post_id'
        226        ASSIGN                                                   !36, ~179
  103   227        FETCH_DIM_R                                      ~181    !31, 'error'
        228        ASSIGN                                                   !37, ~181
  104   229      > JMPZ                                                     !37, ->235
        230    >   INIT_METHOD_CALL                                         !35, 'error'
        231        SEND_VAL_EX                                              'error'
        232        ASSIGN                                           ~183    !38, '92'
        233        SEND_VAL_EX                                              ~183
        234        DO_FCALL                                      0          
  105   235    > > JMPZ                                                     !36, ->241
        236    >   INIT_METHOD_CALL                                         !35, 'isa_ok'
        237        SEND_VAR_EX                                              !36
        238        SEND_VAL_EX                                              'integer'
        239        SEND_VAL_EX                                              'return+id'
        240        DO_FCALL                                      0          
  106   241    >   INIT_FCALL_BY_NAME                                       'print_var'
        242        SEND_VAR_EX                                              !31
        243        DO_FCALL                                      0          
  107   244      > RETURN                                                   1

Function str_count:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lFBji
function name:  str_count
number of ops:  11
compiled vars:  !0 = $str, !1 = $source, !2 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    9     2        INIT_FCALL                                               'explode'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !2, $3
   10     7        COUNT                                            ~5      !2
          8        SUB                                              ~6      ~5, 1
          9      > RETURN                                                   ~6
   11    10*     > RETURN                                                   null

End of function str_count

Function call_film:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lFBji
function name:  call_film
number of ops:  12
compiled vars:  !0 = $url, !1 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV                                             !0      
   13     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !1, $2
   14     5        INIT_FCALL                                               'json_decode'
          6        SEND_VAR                                                 !1
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
   15    10      > RETURN                                                   !1
   16    11*     > RETURN                                                   null

End of function call_film

Function obrabotkatextmalbuk:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lFBji
function name:  obrabotkatextmalbuk
number of ops:  15
compiled vars:  !0 = $str, !1 = $search, !2 = $replace
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   RECV                                             !0      
   18     1        INIT_FCALL                                               'strtolower'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
   19     5        ASSIGN                                                   !1, <array>
   21     6        ASSIGN                                                   !2, <array>
   23     7        INIT_FCALL                                               'str_replace'
          8        SEND_VAR                                                 !1
          9        SEND_VAR                                                 !2
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $7      
         12        ASSIGN                                                   !0, $7
   24    13      > RETURN                                                   !0
   25    14*     > RETURN                                                   null

End of function obrabotkatextmalbuk

Function obrabotkatextspecsimv:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lFBji
function name:  obrabotkatextspecsimv
number of ops:  9
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   26     0  E >   RECV                                             !0      
   27     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B%5EA-Za-z%D0%90%D0%B0%D0%91%D0%B1%D0%92%D0%B2%D0%93%D0%B3%D0%94%D0%B4%D0%95%D0%B5%D0%81%D1%91%D0%96%D0%B6%D0%97%D0%B7%D0%98%D0%B8%D0%99%D0%B9%D0%9A%D0%BA%D0%9B%D0%BB%D0%9C%D0%BC%D0%9D%D0%BD%D0%9E%D0%BE%D0%9F%D0%BF%D0%A0%D1%80%D0%A1%D1%81%D0%A2%D1%82%D0%A3%D1%83%D0%A4%D1%84%D0%A5%D1%85%D0%A6%D1%86%D0%A7%D1%87%D0%A8%D1%88%D0%A9%D1%89%D0%AA%D1%8A%D0%AB%D1%8B%D0%AC%D1%8C%D0%AD%D1%8D%D0%AE%D1%8E%D0%AF%D1%8F0-9%5Cs%5D%2F'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6        ASSIGN                                                   !0, $1
   28     7      > RETURN                                                   !0
   29     8*     > RETURN                                                   null

End of function obrabotkatextspecsimv

Function obrabotkatextarr:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lFBji
function name:  obrabotkatextarr
number of ops:  8
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   30     0  E >   RECV                                             !0      
   31     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%2F%5B%5Cs%2C%5D%2B%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $1      
          5        ASSIGN                                                   !0, $1
   32     6      > RETURN                                                   !0
   33     7*     > RETURN                                                   null

End of function obrabotkatextarr

Function vk_enter:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lFBji
function name:  vk_enter
number of ops:  17
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   34     0  E >   RECV                                             !0      
   35     1        INIT_FCALL                                               'urlencode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
   36     5        INIT_FCALL                                               'str_replace'
          6        SEND_VAL                                                 '%255Cr%255C'
          7        SEND_VAL                                                 '%250A'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $3      
         10        ASSIGN                                                   !0, $3
   37    11        INIT_FCALL                                               'urldecode'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $5      
         14        ASSIGN                                                 

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.64 ms | 1430 KiB | 52 Q