- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.26
- Parse error: syntax error, unexpected '$' in /in/uiMCM on line 3
Process exited with code 255.
<?php
$content = 'text text http://site.ru/bla/bla/index.html text text';
preg_replace('/http:.*?\.html/i', '<a href='$0'></a>', $content);
print_r($array);