3v4l.org

run code in 300+ PHP versions simultaneously
<?php $style="oollla<style>vvvv</style>0000"; echo preg_replace("%<img(.*?)style(.*?)=(.*?)(\'|\")(.+?)(\'|\")(.*?)>%i", "<img\$1\$7>", $style); }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.24
Parse error: syntax error, unexpected '}' in /in/AfuGG on line 6
Process exited with code 255.

preferences:
188.01 ms | 1395 KiB | 61 Q