3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $content="<!--[if (gt IE 9)|!(IE)]><!--> <html lang=\"en\"> <!--<![endif]-->"; $tagOpen="<!--[if (gt IE 9)|!(IE)]><!-->"; $tagClose="<!--<![endif]-->"; $condition='/'.preg_quote($tagOpen).'.*?'.preg_quote($tagClose).'/i'; $content=preg_replace($condition, '$1', $content); echo $content;
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0