php replace something in variable code example Example: php replace str_replace ($search, $replace, $subject);