diff options
-rw-r--r-- | ext/curl/tests/curl_setopt_basic001.phpt | 2 | ||||
-rw-r--r-- | ext/dba/tests/dba_cdb_make.phpt | 2 | ||||
-rw-r--r-- | ext/exif/tests/exif006.phpt | 2 | ||||
-rw-r--r-- | ext/filter/tests/bug39763.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/bug33200.phpt | 2 | ||||
-rw-r--r-- | ext/posix/tests/posix_access.phpt | 2 | ||||
-rw-r--r-- | ext/posix/tests/posix_access_error_modes.phpt | 2 | ||||
-rw-r--r-- | ext/posix/tests/posix_access_error_wrongparams.phpt | 2 | ||||
-rw-r--r-- | ext/posix/tests/posix_access_safemode.phpt | 2 | ||||
-rw-r--r-- | ext/posix/tests/posix_mkfifo_safemode.phpt | 2 | ||||
-rw-r--r-- | ext/session/tests/007.phpt | 2 | ||||
-rw-r--r-- | ext/standard/tests/general_functions/get_cfg_var_variation8.phpt | 2 | ||||
-rw-r--r-- | ext/standard/tests/strings/parse_str_basic3.phpt | 2 | ||||
-rw-r--r-- | main/main.c | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/ext/curl/tests/curl_setopt_basic001.phpt b/ext/curl/tests/curl_setopt_basic001.phpt index b8a28dd762..7b7ab0c576 100644 --- a/ext/curl/tests/curl_setopt_basic001.phpt +++ b/ext/curl/tests/curl_setopt_basic001.phpt @@ -27,7 +27,7 @@ curl_close($ch); var_dump( $curl_content ); ?> --EXPECTF-- -Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0 +Deprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0 *** Testing curl_setopt with CURLOPT_FOLLOWLOCATION in safemode Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in %s on line %d diff --git a/ext/dba/tests/dba_cdb_make.phpt b/ext/dba/tests/dba_cdb_make.phpt index c1d0a01886..e3ff9662a8 100644 --- a/ext/dba/tests/dba_cdb_make.phpt +++ b/ext/dba/tests/dba_cdb_make.phpt @@ -37,7 +37,7 @@ magic_quotes_runtime=1 require(dirname(__FILE__) .'/clean.inc'); ?> --EXPECT-- -Warning: Directive 'magic_quotes_runtime' is deprecated in PHP 5.3 and greater in Unknown on line 0 +Deprecated: Directive 'magic_quotes_runtime' is deprecated in PHP 5.3 and greater in Unknown on line 0 database handler: cdb_make string(32) "12fc5ba2b9dcfef2480e5324eeb5f3e5" string(32) "12fc5ba2b9dcfef2480e5324eeb5f3e5" diff --git a/ext/exif/tests/exif006.phpt b/ext/exif/tests/exif006.phpt index cbd71919dc..10458c083d 100644 --- a/ext/exif/tests/exif006.phpt +++ b/ext/exif/tests/exif006.phpt @@ -20,7 +20,7 @@ magic_quotes_runtime=1 var_dump(exif_read_data(dirname(__FILE__).'/test6.jpg','',true,false)); ?> --EXPECTF-- -Warning: Directive 'magic_quotes_runtime' is deprecated in PHP 5.3 and greater in Unknown on line 0 +Deprecated: Directive 'magic_quotes_runtime' is deprecated in PHP 5.3 and greater in Unknown on line 0 array(5) { ["FILE"]=> array(6) { diff --git a/ext/filter/tests/bug39763.phpt b/ext/filter/tests/bug39763.phpt index 1422f52acc..36ee41561a 100644 --- a/ext/filter/tests/bug39763.phpt +++ b/ext/filter/tests/bug39763.phpt @@ -12,6 +12,6 @@ parse_str("val=%22probably+a+bug%22"); echo $val . "\n"; ?> --EXPECT-- -Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0 +Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0 \"probably a bug\" \"probably a bug\"
\ No newline at end of file diff --git a/ext/pcre/tests/bug33200.phpt b/ext/pcre/tests/bug33200.phpt index 67a4d86a7a..ddbb06519b 100644 --- a/ext/pcre/tests/bug33200.phpt +++ b/ext/pcre/tests/bug33200.phpt @@ -9,5 +9,5 @@ $str = preg_replace("/(some.*text)/e", "strtoupper('\\1')", $str); echo $str . "\r\n"; ?> --EXPECT-- -Warning: Directive 'magic_quotes_sybase' is deprecated in PHP 5.3 and greater in Unknown on line 0 +Deprecated: Directive 'magic_quotes_sybase' is deprecated in PHP 5.3 and greater in Unknown on line 0 SOME '$SAMPLE' TEXT diff --git a/ext/posix/tests/posix_access.phpt b/ext/posix/tests/posix_access.phpt index 08d9bf2ed9..86093e2651 100644 --- a/ext/posix/tests/posix_access.phpt +++ b/ext/posix/tests/posix_access.phpt @@ -46,7 +46,7 @@ chmod ($filename, 0700); unlink($filename); ?> --EXPECTF-- -Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in %s on line %d +Deprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in %s on line %d bool(true) bool(true) bool(true) diff --git a/ext/posix/tests/posix_access_error_modes.phpt b/ext/posix/tests/posix_access_error_modes.phpt index e79d24329b..afeb63e1e5 100644 --- a/ext/posix/tests/posix_access_error_modes.phpt +++ b/ext/posix/tests/posix_access_error_modes.phpt @@ -40,7 +40,7 @@ chmod ($filename, 0700); unlink($filename); ?> --EXPECTF-- -Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line %d +WDeprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line %d bool(false) bool(false) bool(false) diff --git a/ext/posix/tests/posix_access_error_wrongparams.phpt b/ext/posix/tests/posix_access_error_wrongparams.phpt index 882c43b636..10c6883cc1 100644 --- a/ext/posix/tests/posix_access_error_wrongparams.phpt +++ b/ext/posix/tests/posix_access_error_wrongparams.phpt @@ -31,7 +31,7 @@ var_dump(posix_access('./foobar')); ?> ===DONE=== --EXPECTF-- -Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0 +Deprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0 Warning: posix_access() expects at least 1 parameter, 0 given in %s on line %d bool(false) diff --git a/ext/posix/tests/posix_access_safemode.phpt b/ext/posix/tests/posix_access_safemode.phpt index e346149fb5..0ce1e4c444 100644 --- a/ext/posix/tests/posix_access_safemode.phpt +++ b/ext/posix/tests/posix_access_safemode.phpt @@ -22,6 +22,6 @@ var_dump(posix_access('/tmp', POSIX_W_OK)); ?> ===DONE=== --EXPECTF-- -Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in %s on line %d +Deprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in %s on line %d bool(false) ===DONE=== diff --git a/ext/posix/tests/posix_mkfifo_safemode.phpt b/ext/posix/tests/posix_mkfifo_safemode.phpt index 47caf5d3ee..79c4fed57f 100644 --- a/ext/posix/tests/posix_mkfifo_safemode.phpt +++ b/ext/posix/tests/posix_mkfifo_safemode.phpt @@ -39,7 +39,7 @@ unlink($dir . '/bar'); rmdir($dir); ?> --EXPECTF-- -Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in %s on line %d +Deprecated: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in %s on line %d Warning: posix_mkfifo(): SAFE MODE Restriction in effect. The script whose uid is %d is not allowed to access /tmp owned by uid %d in %s on line %d bool(false) diff --git a/ext/session/tests/007.phpt b/ext/session/tests/007.phpt index dea564a7e7..70560067b5 100644 --- a/ext/session/tests/007.phpt +++ b/ext/session/tests/007.phpt @@ -47,7 +47,7 @@ var_dump($_SESSION); session_destroy(); ?> --EXPECTF-- -Warning: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0 +Deprecated: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0 Deprecated: Function session_register() is deprecated in %s on line %d float(3.14) diff --git a/ext/standard/tests/general_functions/get_cfg_var_variation8.phpt b/ext/standard/tests/general_functions/get_cfg_var_variation8.phpt index 2c79668f7b..7db0d1cc78 100644 --- a/ext/standard/tests/general_functions/get_cfg_var_variation8.phpt +++ b/ext/standard/tests/general_functions/get_cfg_var_variation8.phpt @@ -14,7 +14,7 @@ var_dump(get_cfg_var( 'magic_quotes_gpc' ) ); ?>
--EXPECTF--
-Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in %s on line 0
+Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in %s on line 0
*** Test by calling method or function with deprecated option ***
string(1) "1"
diff --git a/ext/standard/tests/strings/parse_str_basic3.phpt b/ext/standard/tests/strings/parse_str_basic3.phpt index 0cc7616153..06e614374e 100644 --- a/ext/standard/tests/strings/parse_str_basic3.phpt +++ b/ext/standard/tests/strings/parse_str_basic3.phpt @@ -91,7 +91,7 @@ var_dump($res); ?> ===DONE=== --EXPECTF-- -Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0 +Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0 *** Testing parse_str() : basic functionality *** Test string with array values 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", |