- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.26
- Parse error: syntax error, unexpected ')' in /in/CIJYd on line 3
Process exited with code 255.
<?php
$variable = "asdfasdg <img src=\"foo.jpg\"> asdgfasdgasdg";
print preg_replace("~src=\"([^\"])\.(jpg|png|gif)\"~iu", "=src\"$1.$2?style=grid\"", $variable));