3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = ' <td class="red"><script type="text/javascript">Decode("2%65%66%_WHATEVER_8%74%74")</script></td> <td class="green"><script type="text/javascript">Decode("2%65%66%_WHATEVER_8%74%74")</script></td> <td class="red"><script type="text/javascript">Decode("2%65%66%_WHATEVER_8%74%74")</script></td> '; $pattern = '/\("\K[^"]+/'; preg_match_all($pattern, $string, $matches); print_r($matches[0]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UmaaC
function name:  (null)
number of ops:  12
compiled vars:  !0 = $string, !1 = $pattern, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%0A++++%3Ctd+class%3D%22red%22%3E%3Cscript+type%3D%22text%2Fjavascript%22%3EDecode%28%222%2565%2566%25_WHATEVER_8%2574%2574%22%29%3C%2Fscript%3E%3C%2Ftd%3E%0A++++%3Ctd+class%3D%22green%22%3E%3Cscript+type%3D%22text%2Fjavascript%22%3EDecode%28%222%2565%2566%25_WHATEVER_8%2574%2574%22%29%3C%2Fscript%3E%3C%2Ftd%3E%0A++++%3Ctd+class%3D%22red%22%3E%3Cscript+type%3D%22text%2Fjavascript%22%3EDecode%28%222%2565%2566%25_WHATEVER_8%2574%2574%22%29%3C%2Fscript%3E%3C%2Ftd%3E%0A'
    8     1        ASSIGN                                                   !1, '%2F%5C%28%22%5CK%5B%5E%22%5D%2B%2F'
    9     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
   11     7        INIT_FCALL                                               'print_r'
          8        FETCH_DIM_R                                      ~6      !2, 0
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.65 ms | 1010 KiB | 15 Q