In PHP, the str_replace() function is case-sensitive.

  • TRUE
  • FALSE
This statement is true. By default, the str_replace() function in PHP is case-sensitive. It performs replacements in a case-sensitive manner, meaning that the search for the specified string is case-sensitive. If you want to perform case-insensitive replacements, you would need to use the str_ireplace() function instead. Learn more: https://www.php.net/manual/en/function.str-replace.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *