3v4l.org

run code in 300+ PHP versions simultaneously
<?php $app_filename = "AntivirusSecurity_02_cb-508164-ce_ac8a0e5e-35f8-4c7b-b591-7e28cab94b4e.apk"; $app_filename = "AntivirusSecurity_02_[508164]_ac8a0e5e-35f8-4c7b-b591-7e28cab94b4e.apk"; $click_id_fence_beginning = '\['; $click_id_fence_end = '\]'; preg_match_all("^{$click_id_fence_beginning}(.*?){$click_id_fence_end}^",$app_filename,$fields); echo (!empty($fields[1][0])) ? $fields[1][0] : 'no click id found'; //print_r($fields);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 22
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5QSE0
function name:  (null)
number of ops:  25
compiled vars:  !0 = $app_filename, !1 = $click_id_fence_beginning, !2 = $click_id_fence_end, !3 = $fields
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'AntivirusSecurity_02_cb-508164-ce_ac8a0e5e-35f8-4c7b-b591-7e28cab94b4e.apk'
    4     1        ASSIGN                                                   !0, 'AntivirusSecurity_02_%5B508164%5D_ac8a0e5e-35f8-4c7b-b591-7e28cab94b4e.apk'
    6     2        ASSIGN                                                   !1, '%5C%5B'
    7     3        ASSIGN                                                   !2, '%5C%5D'
    8     4        INIT_FCALL                                               'preg_match_all'
          5        ROPE_INIT                                     5  ~9      '%5E'
          6        ROPE_ADD                                      1  ~9      ~9, !1
          7        ROPE_ADD                                      2  ~9      ~9, '%28.%2A%3F%29'
          8        ROPE_ADD                                      3  ~9      ~9, !2
          9        ROPE_END                                      4  ~8      ~9, '%5E'
         10        SEND_VAL                                                 ~8
         11        SEND_VAR                                                 !0
         12        SEND_REF                                                 !3
         13        DO_ICALL                                                 
   10    14        FETCH_DIM_IS                                     ~13     !3, 1
         15        ISSET_ISEMPTY_DIM_OBJ                         1  ~14     ~13, 0
         16        BOOL_NOT                                         ~15     ~14
         17      > JMPZ                                                     ~15, ->22
         18    >   FETCH_DIM_R                                      ~16     !3, 1
         19        FETCH_DIM_R                                      ~17     ~16, 0
         20        QM_ASSIGN                                        ~18     ~17
         21      > JMP                                                      ->23
         22    >   QM_ASSIGN                                        ~18     'no+click+id+found'
         23    >   ECHO                                                     ~18
   11    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.04 ms | 1395 KiB | 15 Q