3v4l.org

run code in 300+ PHP versions simultaneously
<?php $app_filename = "AntivirusSecurity_02_c-508164-ce_ac8a0e5e-35f8-4c7b-b591-7e28cab94b4e.apk"; //$app_filename = "AntivirusSecurity_02_[508164]_ac8a0e5e-35f8-4c7b-b591-7e28cab94b4e.apk"; $click_id_fence_beginning = 'cb-'; $click_id_fence_end = '-ce'; 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 = 17, Position 2 = 21
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MAmMm
function name:  (null)
number of ops:  24
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_c-508164-ce_ac8a0e5e-35f8-4c7b-b591-7e28cab94b4e.apk'
    6     1        ASSIGN                                                   !1, 'cb-'
    7     2        ASSIGN                                                   !2, '-ce'
    8     3        INIT_FCALL                                               'preg_match_all'
          4        ROPE_INIT                                     5  ~8      '%5E'
          5        ROPE_ADD                                      1  ~8      ~8, !1
          6        ROPE_ADD                                      2  ~8      ~8, '%28.%2A%3F%29'
          7        ROPE_ADD                                      3  ~8      ~8, !2
          8        ROPE_END                                      4  ~7      ~8, '%5E'
          9        SEND_VAL                                                 ~7
         10        SEND_VAR                                                 !0
         11        SEND_REF                                                 !3
         12        DO_ICALL                                                 
   10    13        FETCH_DIM_IS                                     ~12     !3, 1
         14        ISSET_ISEMPTY_DIM_OBJ                         1  ~13     ~12, 0
         15        BOOL_NOT                                         ~14     ~13
         16      > JMPZ                                                     ~14, ->21
         17    >   FETCH_DIM_R                                      ~15     !3, 1
         18        FETCH_DIM_R                                      ~16     ~15, 0
         19        QM_ASSIGN                                        ~17     ~16
         20      > JMP                                                      ->22
         21    >   QM_ASSIGN                                        ~17     'no+click+id+found'
         22    >   ECHO                                                     ~17
   11    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.94 ms | 1387 KiB | 15 Q