Is there a way to do a replace that's not dependant upon the case?

ie: str_replace('dOg', 'frog', 'dog is cool');