3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_content = 'hello <a rel="nofollow" href="//feeds.wordpress.com/1.0/gocomments/thaiintelligentnews.wordpress.com/53646/"><img onerror="javascript: wp_broken_images = window.wp_broken_images || function(){}; wp_broken_images(this);" alt="" src="//feeds.wordpress.com/1.0/comments/thaiintelligentnews.wordpress.com/53646/" border="0"></a>there'; $_content = preg_replace('#<a [^>]*>#i', '', $_content); echo $_content;
based on 1kC7H
Output for 4.3.0 - 5.6.21, hhvm-3.12.0, 7.0.0 - 7.1.0
hello <img onerror="javascript: wp_broken_images = window.wp_broken_images || function(){}; wp_broken_images(this);" alt="" src="//feeds.wordpress.com/1.0/comments/thaiintelligentnews.wordpress.com/53646/" border="0"></a>there
Output for hhvm-3.10.0

Process exited with code 153.