3v4l.org

run code in 300+ PHP versions simultaneously
<?php $curl=curl_init(); $update = '{"update_id":249657259, "message":{"message_id":469,"from":{"id":89093089,"first_name":"Yoily","username":"YoilyL"},"chat":{"id":-1001068646424,"title":"Bot test","type":"supergroup"},"date":1468506747,"voice":{"duration":1,"mime_type":"audio\/ogg","file_id":"AwADBAADyQQAAuFzTwVPB2Vyea2ZXQI","file_size":3542}}}'; $upar = json_decode($update, TRUE); $chatid = $upar['message']['chat']['id']; $mid = $upar['message']['message_id']; $mtxt = ''; $sender = $upar['message']['from']['id']; $name = $upar['message']['from']['first_name']; $isc = false; if (isset($upar['message']['entities'])){ foreach ($upar['message']['entities'] as $ent){ if ($ent['type']=='mention'){ $ment = substr($upar['message']['text'], $ent['offset'], $ent['length']); $chch = json_decode(file_get_contents("https://api.telegram.org/bot247854284:AAFrc7srTVzCVSMrxtMpQxtqLxMpbznCcPM/getChat?chat_id=$ment"), true); print_r($chch); if ($chch['ok'] && $chch['result']['type']!== 'private' && !stripos($ment, 'smartechgroup')) { $isc = true; break;} } } } if (isset($upar['message']['text'])) $mtxt = $upar['message']['text']; $link = (stripos( $mtxt, 'telegram.me')!==false && stripos($mtxt, smartechgroup, 15 )=== false); If (isset($upar['message']['new_chat_member'])) { if ( strripos($upar['message']['new_chat_member']['username'], 'bot', -3) ){ $botid = $upar['message']['new_chat_member']['id']; header('Content-Type: application/json'); echo json_encode(array( 'method'=>'kickChatMember', 'chat_id'=>$chatid, 'user_id'=>$botid, )); } else { $name = $upar['message']['new_chat_member']['first_name']; header('Content-Type: application/json'); echo json_encode(array( 'method'=>'sendMessage', 'chat_id'=>$chatid, 'text'=> "*Hi $name*, and welcome to the smartech group!\n\nWe are glad you joined our group! \n\n_Please be aware of these rules:_\n-* only English* may be used\n- discussing *only about technology *issues.\n- no voice notes\n-* no ads *(including telegram links to groups/channels)\nThank you for understanding and cooperation \n*The SmarTech Team *\n\n_(Please note: if you break any of these rules I will personally (...) remove you from this group.)_", 'parse_mode' => 'markdown', )); } } elseif ($upar['message']['chat']['type'] === 'private'){ header('Content-Type: application/json'); echo json_encode(array( 'method'=>'sendMessage', 'chat_id'=>$chatid, 'parse_mode' => 'markdown', 'text'=>'sorry, this bot can only be used in the [smartech group](https://telegram.me/smartechgroup)', )); } elseif (isset($upar['message']['voice']) || $link || $isc ){ $msg1 = "*Attention $name! %0A*this message is against the group rules.%0Aif you don't delete it within*"; $msg2 = ' seconds* you will get kicked from the group.'; $i= 15; $a = json_decode(file_get_contents("https://api.telegram.org/bot209583373:AAEADqY65IgVpjRqAG7unTDVwfGGdiUJ-oU/sendMessage?chat_id=$chatid&text=$msg1 ".$i.$msg2."&reply_to_message_id=$mid&parse_mode=markdown"), true); $botmid = $a['result']['message_id']; print_r($a); usleep(500000); for ( --$i; $i >= 0 ; $i-- ) { curl_setopt($curl, CURLOPT_URL, 'https://api.telegram.org/bot209583373:AAEADqY65IgVpjRqAG7unTDVwfGGdiUJ-oU/editMessageText?chat_id=$chatid&message_id=$botmid&&parse_mode=markdown&text=$msg1 ".$i.$msg2'); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); $b = json_decode(curl_exec($curl), true); print_r($b); if (!isset($b['result']['reply_to_message'])){ file_get_contents("https://api.telegram.org/bot209583373:AAEADqY65IgVpjRqAG7unTDVwfGGdiUJ-oU/editMessageText?chat_id=$chatid&message_id=$botmid&text=$name, next time you should make sure your message complies with the group rules."); break; } elseif ($i === 0){ $name = (isset($upar['message']['from']['last_name']))?"$name {$upar['message']['from']['last_name']}": $name; $c = json_decode(file_get_contents("https://api.telegram.org/bot209583373:AAEADqY65IgVpjRqAG7unTDVwfGGdiUJ-oU/kickChatMember?chat_id=$chatid&user_id=$sender"), true); $last = ($c['ok'])?"$name has been kicked because his message was against the group rules.":"$name couldn't be kicked, but his message is against group rules."; file_get_contents("https://api.telegram.org/bot209583373:AAEADqY65IgVpjRqAG7unTDVwfGGdiUJ-oU/editMessageText?chat_id=$chatid&message_id=$botmid&text=$last"); } usleep(560000); }} curl_close($curl);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 77
Branch analysis from position: 29
2 jumps found. (Code = 77) Position 1 = 32, Position 2 = 76
Branch analysis from position: 32
2 jumps found. (Code = 78) Position 1 = 33, Position 2 = 76
Branch analysis from position: 33
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 75
Branch analysis from position: 36
2 jumps found. (Code = 46) Position 1 = 61, Position 2 = 65
Branch analysis from position: 61
2 jumps found. (Code = 46) Position 1 = 66, Position 2 = 72
Branch analysis from position: 66
2 jumps found. (Code = 43) Position 1 = 73, Position 2 = 75
Branch analysis from position: 73
1 jumps found. (Code = 42) Position 1 = 76
Branch analysis from position: 76
2 jumps found. (Code = 43) Position 1 = 80, Position 2 = 83
Branch analysis from position: 80
2 jumps found. (Code = 46) Position 1 = 89, Position 2 = 97
Branch analysis from position: 89
2 jumps found. (Code = 43) Position 1 = 101, Position 2 = 144
Branch analysis from position: 101
2 jumps found. (Code = 43) Position 1 = 110, Position 2 = 125
Branch analysis from position: 110
1 jumps found. (Code = 42) Position 1 = 143
Branch analysis from position: 143
1 jumps found. (Code = 42) Position 1 = 296
Branch analysis from position: 296
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 125
1 jumps found. (Code = 42) Position 1 = 296
Branch analysis from position: 296
Branch analysis from position: 144
2 jumps found. (Code = 43) Position 1 = 149, Position 2 = 161
Branch analysis from position: 149
1 jumps found. (Code = 42) Position 1 = 296
Branch analysis from position: 296
Branch analysis from position: 161
2 jumps found. (Code = 47) Position 1 = 164, Position 2 = 165
Branch analysis from position: 164
2 jumps found. (Code = 47) Position 1 = 166, Position 2 = 167
Branch analysis from position: 166
2 jumps found. (Code = 43) Position 1 = 168, Position 2 = 296
Branch analysis from position: 168
1 jumps found. (Code = 42) Position 1 = 294
Branch analysis from position: 294
2 jumps found. (Code = 44) Position 1 = 296, Position 2 = 204
Branch analysis from position: 296
Branch analysis from position: 204
2 jumps found. (Code = 43) Position 1 = 231, Position 2 = 243
Branch analysis from position: 231
1 jumps found. (Code = 42) Position 1 = 296
Branch analysis from position: 296
Branch analysis from position: 243
2 jumps found. (Code = 43) Position 1 = 245, Position 2 = 290
Branch analysis from position: 245
2 jumps found. (Code = 43) Position 1 = 249, Position 2 = 257
Branch analysis from position: 249
1 jumps found. (Code = 42) Position 1 = 258
Branch analysis from position: 258
2 jumps found. (Code = 43) Position 1 = 273, Position 2 = 277
Branch analysis from position: 273
1 jumps found. (Code = 42) Position 1 = 280
Branch analysis from position: 280
2 jumps found. (Code = 44) Position 1 = 296, Position 2 = 204
Branch analysis from position: 296
Branch analysis from position: 204
Branch analysis from position: 277
2 jumps found. (Code = 44) Position 1 = 296, Position 2 = 204
Branch analysis from position: 296
Branch analysis from position: 204
Branch analysis from position: 257
2 jumps found. (Code = 43) Position 1 = 273, Position 2 = 277
Branch analysis from position: 273
Branch analysis from position: 277
Branch analysis from position: 290
Branch analysis from position: 296
Branch analysis from position: 167
Branch analysis from position: 165
Branch analysis from position: 97
Branch analysis from position: 83
Branch analysis from position: 75
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
Branch analysis from position: 72
Branch analysis from position: 65
Branch analysis from position: 75
Branch analysis from position: 76
Branch analysis from position: 76
Branch analysis from position: 77
filename:       /in/bf4eo
function name:  (null)
number of ops:  300
compiled vars:  !0 = $curl, !1 = $update, !2 = $upar, !3 = $chatid, !4 = $mid, !5 = $mtxt, !6 = $sender, !7 = $name, !8 = $isc, !9 = $ent, !10 = $ment, !11 = $chch, !12 = $link, !13 = $botid, !14 = $msg1, !15 = $msg2, !16 = $i, !17 = $a, !18 = $botmid, !19 = $b, !20 = $c, !21 = $last
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'curl_init'
          1        DO_FCALL                                      0  $22     
          2        ASSIGN                                                   !0, $22
    3     3        ASSIGN                                                   !1, '%7B%22update_id%22%3A249657259%2C+%22message%22%3A%7B%22message_id%22%3A469%2C%22from%22%3A%7B%22id%22%3A89093089%2C%22first_name%22%3A%22Yoily%22%2C%22username%22%3A%22YoilyL%22%7D%2C%22chat%22%3A%7B%22id%22%3A-1001068646424%2C%22title%22%3A%22Bot+test%22%2C%22type%22%3A%22supergroup%22%7D%2C%22date%22%3A1468506747%2C%22voice%22%3A%7B%22duration%22%3A1%2C%22mime_type%22%3A%22audio%5C%2Fogg%22%2C%22file_id%22%3A%22AwADBAADyQQAAuFzTwVPB2Vyea2ZXQI%22%2C%22file_size%22%3A3542%7D%7D%7D'
    4     4        INIT_FCALL                                               'json_decode'
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $25     
          8        ASSIGN                                                   !2, $25
    5     9        FETCH_DIM_R                                      ~27     !2, 'message'
         10        FETCH_DIM_R                                      ~28     ~27, 'chat'
         11        FETCH_DIM_R                                      ~29     ~28, 'id'
         12        ASSIGN                                                   !3, ~29
    6    13        FETCH_DIM_R                                      ~31     !2, 'message'
         14        FETCH_DIM_R                                      ~32     ~31, 'message_id'
         15        ASSIGN                                                   !4, ~32
    7    16        ASSIGN                                                   !5, ''
    8    17        FETCH_DIM_R                                      ~35     !2, 'message'
         18        FETCH_DIM_R                                      ~36     ~35, 'from'
         19        FETCH_DIM_R                                      ~37     ~36, 'id'
         20        ASSIGN                                                   !6, ~37
    9    21        FETCH_DIM_R                                      ~39     !2, 'message'
         22        FETCH_DIM_R                                      ~40     ~39, 'from'
         23        FETCH_DIM_R                                      ~41     ~40, 'first_name'
         24        ASSIGN                                                   !7, ~41
   10    25        ASSIGN                                                   !8, <false>
   11    26        FETCH_DIM_IS                                     ~44     !2, 'message'
         27        ISSET_ISEMPTY_DIM_OBJ                         0          ~44, 'entities'
         28      > JMPZ                                                     ~45, ->77
   12    29    >   FETCH_DIM_R                                      ~46     !2, 'message'
         30        FETCH_DIM_R                                      ~47     ~46, 'entities'
         31      > FE_RESET_R                                       $48     ~47, ->76
         32    > > FE_FETCH_R                                               $48, !9, ->76
   13    33    >   FETCH_DIM_R                                      ~49     !9, 'type'
         34        IS_EQUAL                                                 ~49, 'mention'
         35      > JMPZ                                                     ~50, ->75
   14    36    >   INIT_FCALL                                               'substr'
         37        FETCH_DIM_R                                      ~51     !2, 'message'
         38        FETCH_DIM_R                                      ~52     ~51, 'text'
         39        SEND_VAL                                                 ~52
         40        FETCH_DIM_R                                      ~53     !9, 'offset'
         41        SEND_VAL                                                 ~53
         42        FETCH_DIM_R                                      ~54     !9, 'length'
         43        SEND_VAL                                                 ~54
         44        DO_ICALL                                         $55     
         45        ASSIGN                                                   !10, $55
   15    46        INIT_FCALL                                               'json_decode'
         47        INIT_FCALL                                               'file_get_contents'
         48        NOP                                                      
         49        FAST_CONCAT                                      ~57     'https%3A%2F%2Fapi.telegram.org%2Fbot247854284%3AAAFrc7srTVzCVSMrxtMpQxtqLxMpbznCcPM%2FgetChat%3Fchat_id%3D', !10
         50        SEND_VAL                                                 ~57
         51        DO_ICALL                                         $58     
         52        SEND_VAR                                                 $58
         53        SEND_VAL                                                 <true>
         54        DO_ICALL                                         $59     
         55        ASSIGN                                                   !11, $59
   16    56        INIT_FCALL                                               'print_r'
         57        SEND_VAR                                                 !11
         58        DO_ICALL                                                 
   17    59        FETCH_DIM_R                                      ~62     !11, 'ok'
         60      > JMPZ_EX                                          ~62     ~62, ->65
         61    >   FETCH_DIM_R                                      ~63     !11, 'result'
         62        FETCH_DIM_R                                      ~64     ~63, 'type'
         63        IS_NOT_IDENTICAL                                 ~65     ~64, 'private'
         64        BOOL                                             ~62     ~65
         65    > > JMPZ_EX                                          ~62     ~62, ->72
         66    >   INIT_FCALL                                               'stripos'
         67        SEND_VAR                                                 !10
         68        SEND_VAL                                                 'smartechgroup'
         69        DO_ICALL                                         $66     
         70        BOOL_NOT                                         ~67     $66
         71        BOOL                                             ~62     ~67
         72    > > JMPZ                                                     ~62, ->75
         73    >   ASSIGN                                                   !8, <true>
         74      > JMP                                                      ->76
   12    75    > > JMP                                                      ->32
         76    >   FE_FREE                                                  $48
   22    77    >   FETCH_DIM_IS                                     ~69     !2, 'message'
         78        ISSET_ISEMPTY_DIM_OBJ                         0          ~69, 'text'
         79      > JMPZ                                                     ~70, ->83
   23    80    >   FETCH_DIM_R                                      ~71     !2, 'message'
         81        FETCH_DIM_R                                      ~72     ~71, 'text'
         82        ASSIGN                                                   !5, ~72
   24    83    >   INIT_FCALL                                               'stripos'
         84        SEND_VAR                                                 !5
         85        SEND_VAL                                                 'telegram.me'
         86        DO_ICALL                                         $74     
         87        TYPE_CHECK                                  1018  ~75     $74
         88      > JMPZ_EX                                          ~75     ~75, ->97
         89    >   INIT_FCALL                                               'stripos'
         90        SEND_VAR                                                 !5
         91        FETCH_CONSTANT                                   ~76     'smartechgroup'
         92        SEND_VAL                                                 ~76
         93        SEND_VAL                                                 15
         94        DO_ICALL                                         $77     
         95        TYPE_CHECK                                    4  ~78     $77
         96        BOOL                                             ~75     ~78
         97    >   ASSIGN                                                   !12, ~75
   26    98        FETCH_DIM_IS                                     ~80     !2, 'message'
         99        ISSET_ISEMPTY_DIM_OBJ                         0          ~80, 'new_chat_member'
        100      > JMPZ                                                     ~81, ->144
   27   101    >   INIT_FCALL                                               'strripos'
        102        FETCH_DIM_R                                      ~82     !2, 'message'
        103        FETCH_DIM_R                                      ~83     ~82, 'new_chat_member'
        104        FETCH_DIM_R                                      ~84     ~83, 'username'
        105        SEND_VAL                                                 ~84
        106        SEND_VAL                                                 'bot'
        107        SEND_VAL                                                 -3
        108        DO_ICALL                                         $85     
        109      > JMPZ                                                     $85, ->125
   28   110    >   FETCH_DIM_R                                      ~86     !2, 'message'
        111        FETCH_DIM_R                                      ~87     ~86, 'new_chat_member'
        112        FETCH_DIM_R                                      ~88     ~87, 'id'
        113        ASSIGN                                                   !13, ~88
   29   114        INIT_FCALL                                               'header'
        115        SEND_VAL                                                 'Content-Type%3A+application%2Fjson'
        116        DO_ICALL                                                 
   30   117        INIT_FCALL                                               'json_encode'
   31   118        INIT_ARRAY                                       ~91     'kickChatMember', 'method'
   32   119        ADD_ARRAY_ELEMENT                                ~91     !3, 'chat_id'
   33   120        ADD_ARRAY_ELEMENT                                ~91     !13, 'user_id'
        121        SEND_VAL                                                 ~91
        122        DO_ICALL                                         $92     
        123        ECHO                                                     $92
        124      > JMP                                                      ->143
   36   125    >   FETCH_DIM_R                                      ~93     !2, 'message'
        126        FETCH_DIM_R                                      ~94     ~93, 'new_chat_member'
        127        FETCH_DIM_R                                      ~95     ~94, 'first_name'
        128        ASSIGN                                                   !7, ~95
   37   129        INIT_FCALL                                               'header'
        130        SEND_VAL                                                 'Content-Type%3A+application%2Fjson'
        131        DO_ICALL                                                 
   38   132        INIT_FCALL                                               'json_encode'
   39   133        INIT_ARRAY                                       ~98     'sendMessage', 'method'
   40   134        ADD_ARRAY_ELEMENT                                ~98     !3, 'chat_id'
   41   135        ROPE_INIT                                     3  ~100    '%2AHi+'
        136        ROPE_ADD                                      1  ~100    ~100, !7
        137        ROPE_END                                      2  ~99     ~100, '%2A%2C+and+welcome+to+the+smartech+group%21%0A%0AWe+are+glad+you+joined+our+group%21+%0A%0A_Please+be+aware+of+these+rules%3A_%0A-%2A+only+English%2A+may+be+used%0A-+discussing+%2Aonly+about+technology+%2Aissues.%0A-+no+voice+notes%0A-%2A+no+ads+%2A%28including+telegram+links+to+groups%2Fchannels%29%0AThank+you+for+understanding+and+cooperation+%0A%2AThe+SmarTech+Team+%2A%0A%0A_%28Please+note%3A+if+you+break+any+of+these+rules+I+will+personally+%28...%29+remove+you+from+this+group.%29_'
        138        ADD_ARRAY_ELEMENT                                ~98     ~99, 'text'
   42   139        ADD_ARRAY_ELEMENT                                ~98     'markdown', 'parse_mode'
        140        SEND_VAL                                                 ~98
        141        DO_ICALL                                         $102    
        142        ECHO                                                     $102
        143    > > JMP                                                      ->296
   45   144    >   FETCH_DIM_R                                      ~103    !2, 'message'
        145        FETCH_DIM_R                                      ~104    ~103, 'chat'
        146        FETCH_DIM_R                                      ~105    ~104, 'type'
        147        IS_IDENTICAL                                             ~105, 'private'
        148      > JMPZ                                                     ~106, ->161
   46   149    >   INIT_FCALL                                               'header'
        150        SEND_VAL                                                 'Content-Type%3A+application%2Fjson'
        151        DO_ICALL                                                 
   47   152        INIT_FCALL                                               'json_encode'
   48   153        INIT_ARRAY                                       ~108    'sendMessage', 'method'
   49   154        ADD_ARRAY_ELEMENT                                ~108    !3, 'chat_id'
   50   155        ADD_ARRAY_ELEMENT                                ~108    'markdown', 'parse_mode'
   51   156        ADD_ARRAY_ELEMENT                                ~108    'sorry%2C+this+bot+can+only+be+used+in+the+%5Bsmartech+group%5D%28https%3A%2F%2Ftelegram.me%2Fsmartechgroup%29', 'text'
        157        SEND_VAL                                                 ~108
        158        DO_ICALL                                         $109    
        159        ECHO                                                     $109
        160      > JMP                                                      ->296
   54   161    >   FETCH_DIM_IS                                     ~110    !2, 'message'
        162        ISSET_ISEMPTY_DIM_OBJ                         0  ~111    ~110, 'voice'
        163      > JMPNZ_EX                                         ~111    ~111, ->165
        164    >   BOOL                                             ~111    !12
        165    > > JMPNZ_EX                                         ~111    ~111, ->167
        166    >   BOOL                                             ~111    !8
        167    > > JMPZ                                                     ~111, ->296
   55   168    >   ROPE_INIT                                     3  ~113    '%2AAttention+'
        169        ROPE_ADD                                      1  ~113    ~113, !7
        170        ROPE_END                                      2  ~112    ~113, '%21+%250A%2Athis+message+is+against+the+group+rules.%250Aif+you+don%27t+delete+it+within%2A'
        171        ASSIGN                                                   !14, ~112
   56   172        ASSIGN                                                   !15, '+seconds%2A+you+will+get+kicked+from+the+group.'
   57   173        ASSIGN                                                   !16, 15
   58   174        INIT_FCALL                                               'json_decode'
        175        INIT_FCALL                                               'file_get_contents'
        176        ROPE_INIT                                     5  ~119    'https%3A%2F%2Fapi.telegram.org%2Fbot209583373%3AAAEADqY65IgVpjRqAG7unTDVwfGGdiUJ-oU%2FsendMessage%3Fchat_id%3D'
        177        ROPE_ADD                                      1  ~119    ~119, !3
        178        ROPE_ADD                                      2  ~119    ~119, '%26text%3D'
        179        ROPE_ADD                                      3  ~119    ~119, !14
        180        ROPE_END                                      4  ~118    ~119, '+'
        181        CONCAT                                           ~122    ~118, !16
        182        CONCAT                                           ~123    ~122, !15
        183        ROPE_INIT                                     3  ~125    '%26reply_to_message_id%3D'
        184        ROPE_ADD                                      1  ~125    ~125, !4
        185        ROPE_END                                      2  ~124    ~125, '%26parse_mode%3Dmarkdown'
        186        CONCAT                                           ~127    ~123, ~124
        187        SEND_VAL                                                 ~127
        188        DO_ICALL                                         $128    
        189        SEND_VAR                                                 $128
        190        SEND_VAL                                                 <true>
        191        DO_ICALL                                         $129    
        192        ASSIGN                                                   !17, $129
   59   193        FETCH_DIM_R                                      ~131    !17, 'result'
        194        FETCH_DIM_R                                      ~132    ~131, 'message_id'
        195        ASSIGN                                                   !18, ~132
   60   196        INIT_FCALL                                               'print_r'
        197        SEND_VAR                                                 !17
        198        DO_ICALL                                                 
   61   199        INIT_FCALL                                               'usleep'
        200        SEND_VAL                                                 500000
        201        DO_ICALL                                                 
   62   202        PRE_DEC                                                  !16
        203      > JMP                                                      ->294
   63   204    >   INIT_FCALL_BY_NAME                                       'curl_setopt'
        205        SEND_VAR_EX                                              !0
        206        FETCH_CONSTANT                                   ~137    'CURLOPT_URL'
        207        SEND_VAL_EX                                              ~137
        208        SEND_VAL_EX                                              'https%3A%2F%2Fapi.telegram.org%2Fbot209583373%3AAAEADqY65IgVpjRqAG7unTDVwfGGdiUJ-oU%2FeditMessageText%3Fchat_id%3D%24chatid%26message_id%3D%24botmid%26%26parse_mode%3Dmarkdown%26text%3D%24msg1+%22.%24i.%24msg2'
        209        DO_FCALL                                      0          
   64   210        INIT_FCALL_BY_NAME                                       'curl_setopt'
        211        SEND_VAR_EX                                              !0
        212        FETCH_CONSTANT                                   ~139    'CURLOPT_RETURNTRANSFER'
        213        SEND_VAL_EX                                              ~139
        214        SEND_VAL_EX                                              1
        215        DO_FCALL                                      0          
   65   216        INIT_FCALL                                               'json_decode'
        217        INIT_FCALL_BY_NAME                                       'curl_exec'
        218        SEND_VAR_EX                                              !0
        219        DO_FCALL                                      0  $141    
        220        SEND_VAR                                                 $141
        221        SEND_VAL                                                 <true>
        222        DO_ICALL                                         $142    
        223        ASSIGN                                                   !19, $142
   66   224        INIT_FCALL                                               'print_r'
        225        SEND_VAR                                                 !19
        226        DO_ICALL                                                 
   67   227        FETCH_DIM_IS                                     ~145    !19, 'result'
        228        ISSET_ISEMPTY_DIM_OBJ                         0  ~146    ~145, 'reply_to_message'
        229        BOOL_NOT                                         ~147    ~146
        230      > JMPZ                                                     ~147, ->243
   68   231    >   INIT_FCALL                                               'file_get_contents'
        232        ROPE_INIT                                     7  ~149    'https%3A%2F%2Fapi.telegram.org%2Fbot209583373%3AAAEADqY65IgVpjRqAG7unTDVwfGGdiUJ-oU%2FeditMessageText%3Fchat_id%3D'
        233        ROPE_ADD                                      1  ~149    ~149, !3
        234        ROPE_ADD                                      2  ~149    ~149, '%26message_id%3D'
        235        ROPE_ADD                                      3  ~149    ~149, !18
        236        ROPE_ADD                                      4  ~149    ~149, '%26text%3D'
        237        ROPE_ADD                                      5  ~149    ~149, !7
        238        ROPE_END                                      6  ~148    ~149, '%2C+next+time+you+should+make+sure+your+message+complies+with+the+group+rules.'
        239        SEND_VAL                                                 ~148
        240        DO_ICALL                                                 
   69   241      > JMP                                                      ->296
        242*       JMP                                                      ->290
   70   243    >   IS_IDENTICAL                                             !16, 0
        244      > JMPZ                                                     ~154, ->290
   71   245    >   FETCH_DIM_IS                                     ~155    !2, 'message'
        246        FETCH_DIM_IS                                     ~156    ~155, 'from'
        247        ISSET_ISEMPTY_DIM_OBJ                         0          ~156, 'last_name'
        248      > JMPZ                                                     ~157, ->257
        249    >   ROPE_INIT                                     3  ~162    !7
        250        ROPE_ADD                                      1  ~162    ~162, '+'
        251        FETCH_DIM_R                                      ~158    !2, 'message'
        252        FETCH_DIM_R                                      ~159    ~158, 'from'
        253        FETCH_DIM_R                                      ~160    ~159, 'last_name'
        254        ROPE_END                                      2  ~161    ~162, ~160
        255        QM_ASSIGN                                        ~164    ~161
        256      > JMP                                                      ->258
        257    >   QM_ASSIGN                                        ~164    !7
        258    >   ASSIGN                                                   !7, ~164
   72   259        INIT_FCALL                                               'json_decode'
        260        INIT_FCALL                                               'file_get_contents'
        261        ROPE_INIT                                     4  ~167    'https%3A%2F%2Fapi.telegram.org%2Fbot209583373%3AAAEADqY65IgVpjRqAG7unTDVwfGGdiUJ-oU%2FkickChatMember%3Fchat_id%3D'
        262        ROPE_ADD                                      1  ~167    ~167, !3
        263        ROPE_ADD                                      2  ~167    ~167, '%26user_id%3D'
        264        ROPE_END                                      3  ~166    ~167, !6
        265        SEND_VAL                                                 ~166
        266        DO_ICALL                                         $169    
        267        SEND_VAR                                                 $169
        268        SEND_VAL                                                 <true>
        269        DO_ICALL                                         $170    
        270        ASSIGN                                                   !20, $170
   73   271        FETCH_DIM_R                                      ~172    !20, 'ok'
        272      > JMPZ                                                     ~172, ->277
        273    >   NOP                                                      
        274        FAST_CONCAT                                      ~173    !7, '+has+been+kicked+because+his+message+was+against+the+group+rules.'
        275        QM_ASSIGN                                        ~174    ~173
        276      > JMP                                                      ->280
        277    >   NOP                                                      
        278        FAST_CONCAT                                      ~175    !7, '+couldn%27t+be+kicked%2C+but+his+message+is+against+group+rules.'
        279        QM_ASSIGN                                        ~174    ~175
        280    >   ASSIGN                                                   !21, ~174
   74   281        INIT_FCALL                                               'file_get_contents'
        282        ROPE_INIT                                     6  ~178    'https%3A%2F%2Fapi.telegram.org%2Fbot209583373%3AAAEADqY65IgVpjRqAG7unTDVwfGGdiUJ-oU%2FeditMessageText%3Fchat_id%3D'
        283        ROPE_ADD                                      1  ~178    ~178, !3
        284        ROPE_ADD                                      2  ~178    ~178, '%26message_id%3D'
        285        ROPE_ADD                                      3  ~178    ~178, !18
        286        ROPE_ADD                                      4  ~178    ~178, '%26text%3D'
        287        ROPE_END                                      5  ~177    ~178, !21
        288        SEND_VAL                                                 ~177
        289        DO_ICALL                                                 
   76   290    >   INIT_FCALL                                               'usleep'
        291        SEND_VAL                                                 560000
        292        DO_ICALL                                                 
   62   293        PRE_DEC                                                  !16
        294    >   IS_SMALLER_OR_EQUAL                                      0, !16
        295      > JMPNZ                                                    ~184, ->204
   78   296    >   INIT_FCALL_BY_NAME                                       'curl_close'
        297        SEND_VAR_EX                                              !0
        298        DO_FCALL                                      0          
        299      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.11 ms | 1428 KiB | 31 Q