3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_content = '<br><div><a href="http://activistpost.net/organicfood.html" rel="nofollow"><img src="http://lh5.ggpht.com/_qLAIskTQXUc/TMcjgprXEmI/AAAAAAAAEE0/0_pPXQypggE/468x60-set1.gif"></a></div>'; $_content = preg_replace('#<img ([^>]*?)(480|468)x60[^>]*>#i', '', $_content); echo $_content;
based on Fbi3F
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<br><div><a href="http://activistpost.net/organicfood.html" rel="nofollow"></a></div>