3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input="dfdfdfdf<a href='' class=""></a>"; $regexp = "<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>(.*)<\/a>"; if(preg_match_all("/$regexp/siU", $input, $matches)) { echo "find"; } else echo "No";
Output for 5.4.0 - 5.4.19
Parse error: syntax error, unexpected '"></a>"' (T_CONSTANT_ENCAPSED_STRING) in /in/E5Xe4 on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /in/E5Xe4 on line 2
Process exited with code 255.

preferences:
178.12 ms | 1395 KiB | 55 Q