3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_match( '/ \\s+ # whitespace href # "href" attribute \\s* # optional whitespace = # literal "=" \\s* # optional whitespace (["\']) # open quote (captured for later backreference) ([^"\']+) \\1 # the same quote character as the opening quote /x', 'href="/"' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uhvcN
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match'
    4     1        SEND_VAL                                                 '%2F%0A++++++++%5Cs%2B++++%23+whitespace%0A++++++++href++++%23+%22href%22+attribute%0A++++++++%5Cs%2A++++%23+optional+whitespace%0A++++++++%3D+++++++%23+literal+%22%3D%22%0A++++++++%5Cs%2A++++%23+optional+whitespace%0A++++++++%28%5B%22%27%5D%29+%23+open+quote+%28captured+for+later+backreference%29%0A++++++++%28%5B%5E%22%27%5D%2B%29%0A++++++++%5C1+++++%23+the+same+quote+character+as+the+opening+quote%0A++++%2Fx'
   14     2        SEND_VAL                                                 'href%3D%22%2F%22'
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
   15     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.72 ms | 1385 KiB | 15 Q