diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2010-08-11 21:41:30 +0000 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2010-08-11 21:41:30 +0000 |
commit | a448b6a72b2ed90fa5ac1ada83f983a44f1e231c (patch) | |
tree | 88ecb7c2fb4dded675df24426babd6af54abc7bd /ext/posix | |
parent | f48999ca3b9d6dd8f432e2b95c1a78c577e01ce7 (diff) | |
download | php-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 'ext/posix')
-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 |
5 files changed, 5 insertions, 5 deletions
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) |