3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input="dfdfdfdf<a ></a>"; $regexp = "<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>(.*)<\/a>"; if(preg_match_all("/$regexp/siU", $input, $matches)) { echo "find"; } else echo "No";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/f6rLv
function name:  (null)
number of ops:  15
compiled vars:  !0 = $input, !1 = $regexp, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'dfdfdfdf%3Ca+%3E%3C%2Fa%3E'
    4     1        ASSIGN                                                   !1, '%3Ca%5Cs%5B%5E%3E%5D%2Ahref%3D%28%22%3F%3F%29%28%5B%5E%22+%3E%5D%2A%3F%29%5C1%5B%5E%3E%5D%2A%3E%28.%2A%29%3C%5C%2Fa%3E'
    5     2        INIT_FCALL                                               'preg_match_all'
          3        ROPE_INIT                                     3  ~6      '%2F'
          4        ROPE_ADD                                      1  ~6      ~6, !1
          5        ROPE_END                                      2  ~5      ~6, '%2FsiU'
          6        SEND_VAL                                                 ~5
          7        SEND_VAR                                                 !0
          8        SEND_REF                                                 !2
          9        DO_ICALL                                         $8      
         10      > JMPZ                                                     $8, ->13
    7    11    >   ECHO                                                     'find'
         12      > JMP                                                      ->14
   10    13    >   ECHO                                                     'No'
         14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.26 ms | 1386 KiB | 15 Q