Worked on some code and bumped into this error so share the fix
if you get error "set_magic_quotes_runtime() is deprecated"
Find the file and line reported in error
Change
Code:
set_magic_quotes_runtime(0);
to
Code:
ini_set("magic_quotes_runtime", 0);
Hope someone finds this useful
P.s. sorry for my bad English