3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 32
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 32
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 25
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
filename:       /in/Wija8
function name:  (null)
number of ops:  35
compiled vars:  !0 = $string, !1 = $match, !2 = $value, !3 = $key, !4 = $result, !5 = $new_string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'The+quick+%28brown+fox+jumps%29+over+%28the+lazy+dog%29'
    4     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%5C%28.%28.%2A%3F%29.%5C%29%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    5     6        FETCH_DIM_R                                      ~8      !1, 0
          7      > FE_RESET_R                                       $9      ~8, ->32
          8    > > FE_FETCH_R                                       ~10     $9, !2, ->32
          9    >   ASSIGN                                                   !3, ~10
    6    10        INIT_FCALL                                               'preg_replace'
         11        SEND_VAL                                                 '%2F%5Cs%2B%2F'
         12        SEND_VAL                                                 ''
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                         $12     
         15        ASSIGN                                                   !4, $12
    7    16        ISSET_ISEMPTY_CV                                         !5
         17      > JMPZ                                                     ~14, ->25
    8    18    >   INIT_FCALL                                               'str_replace'
         19        SEND_VAR                                                 !2
         20        SEND_VAR                                                 !4
         21        SEND_VAR                                                 !5
         22        DO_ICALL                                         $15     
         23        ASSIGN                                                   !5, $15
    7    24      > JMP                                                      ->31
   10    25    >   INIT_FCALL                                               'str_replace'
         26        SEND_VAR                                                 !2
         27        SEND_VAR                                                 !4
         28        SEND_VAR                                                 !0
         29        DO_ICALL                                         $17     
         30        ASSIGN                                                   !5, $17
    5    31    > > JMP                                                      ->8
         32    >   FE_FREE                                                  $9
   14    33        ECHO                                                     !5
   15    34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.89 ms | 970 KiB | 16 Q