function
Global
/
preg_replace_array
preg_replace_array
preg_replace_array ( ) : string
Replace a given pattern with each value in the array in sequentially.
Parameters
- $pattern string
- $replacements array
- $subject string