Function preg_replace_sub
Replace a given pattern with each value in the array in sequentially.
Parameters summary
string |
$pattern |
|
array |
& $replacements |
|
string |
$subject |
Return value summary
string
|
string |
Replace a given pattern with each value in the array in sequentially.
string |
$pattern |
|
array |
& $replacements |
|
string |
$subject |
string
|
string |