Вероятно си мислите за „магически цитати“ https://php.net/manual/en/security.magicquotes.disabling .php