Let's take a look at Magic_QUOTES_RUNTIME This is the environmental configuration variable in php.ini. You can set it directly in php.ini, then PHP will be all overflow characters, when you encounter a backstalk, single quotes, will Plus an anti-screw rod, protection system and database security.
Then SET_MAGIC_QUOTES_RUNTIME () is in the case where the php.ini is not configured, the set switch 0 is turned off, which is equal to manually opening MAGIC_QUOTES_RUNTIME manually.