str_ireplace

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
spacebiscuit
Forum Contributor
Posts: 390
Joined: Mon Mar 07, 2005 3:20 pm

str_ireplace

Post by spacebiscuit »

Hi guys,

I am trying to use the function str_ireplace but I am getting the following error message:

Call to undefined function: str_ireplace()

Also can anyone suggest how I should implement the following. For the str_replace function I have an array or words which I am using to search keywords for. I have written two of my own functions that use this function but I don't want to have to declare the array twice. So how can I access the two arrays, should I use 'require' or 'include' or something simialr.

Thanks in advance,

Rob.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: str_ireplace

Post by Christopher »

Check the manual page to see if it is available in your version of PHP.
(#10850)
Post Reply