Created
June 26, 2018 20:18
-
-
Save KalleZ/c38cc6ff421d1e565dcbd13166db8693 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ext/filter/sanitizing_filters.c b/ext/filter/sanitizing_filters.c | |
index a84c44d4cf..5e4f24623f 100644 | |
--- a/ext/filter/sanitizing_filters.c | |
+++ b/ext/filter/sanitizing_filters.c | |
@@ -373,6 +373,8 @@ void php_filter_magic_quotes(PHP_INPUT_FILTER_PARAM_DECL) | |
{ | |
zend_string *buf; | |
+ php_error_docref(NULL, E_DEPRECATED, "The 'magic_quotes' filter is deprecated and will be removed in a future version of PHP"); | |
+ | |
/* just call php_addslashes quotes */ | |
buf = php_addslashes(Z_STR_P(value), 0); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment