summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2010-08-11 21:41:30 +0000
committerKalle Sommer Nielsen <kalle@php.net>2010-08-11 21:41:30 +0000
commita448b6a72b2ed90fa5ac1ada83f983a44f1e231c (patch)
tree88ecb7c2fb4dded675df24426babd6af54abc7bd /main/main.c
parentf48999ca3b9d6dd8f432e2b95c1a78c577e01ce7 (diff)
downloadphp-git-a448b6a72b2ed90fa5ac1ada83f983a44f1e231c.tar.gz
MFB53: Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED (Fixes #52570)
# Some of the updated tests were to make them sync with 5.3 although they don't run on trunk anymore
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index 9253092973..a8ba724e94 100644
--- a/main/main.c
+++ b/main/main.c
@@ -2103,7 +2103,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
const char *directives[13]; /* Remember to change this if the number of directives change */
} directives[2] = {
{
- E_CORE_WARNING,
+ E_DEPRECATED,
"Directive '%s' is deprecated in PHP 5.3 and greater",
{
"magic_quotes_gpc",