3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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="/"' );
Output for 4.3.0 - 7.2.0
0