- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.23
- Parse error: syntax error, unexpected ']' in /in/Igfer on line 8
Process exited with code 255.
<?php
$body = 'jasfjkdnjksdfnvv href="http://films.imhonet.ru/element/1341324/" ffr 3432 32 efwfrewqf
ff3223423 href="http://imhonet.ru.vk.com/?w=wall-14483947_3270"
vfsdvfvfsdv
';
var_dump(preg_replace(
'/(?<=href=["\\'])([^"\\'/]*?(?://)?[^"\\'/]*?imhonet\.ru/?[^"\\']*)/im',#'/(?<=href=["\'])([^"\']+i
'$1?partner_id='.'142342314'.'&auth_hash='.'dsf34rt43ff34rt43r',
$body));