php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "replace"

What is the correct syntax for using str_replace() in PHP to replace multiple strings?

When using the str_replace() function in PHP to replace multiple strings, you can pass arrays of search and replace values to the function. This allow...

Are there alternative methods to replace whole words in PHP besides preg_replace?

If you need to replace whole words in PHP without using preg_replace, you can use the str_replace function with an array of words to replace. This fun...

What function can be used in PHP to replace specific characters in a string?

To replace specific characters in a string in PHP, you can use the `str_replace()` function. This function takes three parameters: the character(s) yo...

What is the function used to replace characters in PHP strings?

To replace characters in PHP strings, you can use the str_replace() function. This function takes three parameters: the character or characters you wa...

What method in PHP would you use to replace specific characters in a string?

To replace specific characters in a string in PHP, you can use the str_replace() function. This function takes three parameters: the character(s) you...

Showing 6 to 10 of 2677 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 535 536 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.