3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = "<span style="font-family: arial black,avant garde;"><img alt="cid:k32005" src="http://uligreetingscard.com/js/jscripts/tiny_mce/plugins/emotions/img/new/k32005.png" title="cid:k32005"><span style="color: #ff0000;">aweaweawea</span></span>"; $regex = array('/is/','/string/'); $replace = array('isnt','jedi'); echo preg_replace($regex,$replace,$string);
Output for 5.4.0 - 5.4.9
Parse error: syntax error, unexpected 'font' (T_STRING) in /in/JVpUo on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.19
Parse error: syntax error, unexpected T_STRING in /in/JVpUo on line 3
Process exited with code 255.