ALIAS

rep()

ShortPHP reference for str_replace().

Signature

str_replace(string|array $search, string|array $replace, string|array $subject, int &$count = null): string|array

Example

rep(...);

PHP equivalent

str_replace() is the canonical PHP function. ShortPHP provides rep() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: ends()

Next: starts()

Back to reference