Function preg_replace_sub
Replace a given pattern with each value in the array in sequentially.
Located at mechanicious/Illuminate/Support/helpers.php
string |
$pattern |
|
array |
& $replacements |
|
string |
$subject |
string
|