php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "replace function"

How can I create a replace function in PHP that can replace placeholders and execute PHP code within HTML templates?

To create a replace function in PHP that can replace placeholders and execute PHP code within HTML templates, you can use the `preg_replace_callback`...

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 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 function can be used in PHP to replace specific characters within a string?

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

How can the str_replace function be utilized to replace commas with periods in PHP?

To replace commas with periods in a string using the str_replace function in PHP, you can simply pass the comma as the search parameter and period as...

Showing 1 to 5 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1999 2000 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.