function Global / preg_replace_array
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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