3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $body = "<style> boom </style>"; $regex = "'<style>(.*?)<\/style>'si"; $replace = ''; $body = preg_replace($regex, $replace, $body); echo $body;
based on to0dl
Output for 5.6.0 - 7.2.6