3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input="dfdfdfdf<a ></a>"; $regexp = "<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>(.*)<\/a>"; if(preg_match_all("/$regexp/siU", $input, $matches)) { echo "find"; } else echo "No";
Output for 4.3.0 - 7.2.0
No