3v4l.org

run code in 300+ PHP versions simultaneously
<?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>"; $replace = preg_replace('/<img"(.*)"alt="(.*)"title="(.*)"\>/', "$2",$string); echo $string;
Output for 5.4.0 - 5.4.9
Parse error: syntax error, unexpected 'font' (T_STRING) in /in/flmVE 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/flmVE on line 3
Process exited with code 255.

preferences:
166.73 ms | 1386 KiB | 37 Q