str_replace('"', "", $string);
str_replace("'", "", $string);
I assume you mean quotation marks?
Otherwise, go for some regex, this will work for html quotes for example:
preg_replace("/<!--.*?-->/", "", $string);
C-style quotes:
preg_replace("///.*?
/", "
", $string);
CSS-style quotes:
preg_replace("//*.*?*//", "", $string);
bash-style quotes:
preg-replace("/#.*?
/", "
", $string);
Etc etc...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…