diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2010-08-11 21:12:18 +0000 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2010-08-11 21:12:18 +0000 |
commit | 8deefa8780a77996865d1243c63c6fa3cd49d584 (patch) | |
tree | ff78e202f316fe0640aa16057b2a0a369a56b52d /ext/posix | |
parent | 7d55780ca0a61b3fceab11d51d3eb67f87a0e441 (diff) | |
download | php-git-8deefa8780a77996865d1243c63c6fa3cd49d584.tar.gz |
Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED (Fixes #52570)
# Trunk patch will follow shortly
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 1bd601ad4b..e585e67b47 100644 --- a/ext/posix/tests/posix_access.phpt +++ b/ext/posix/tests/posix_access.phpt @@ -43,7 +43,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 0d79996bd1..951ae01075 100644 --- a/ext/posix/tests/posix_access_error_modes.phpt +++ b/ext/posix/tests/posix_access_error_modes.phpt @@ -37,7 +37,7 @@ chmod ($filename, 0700); unlink($filename); ?> --EXPECTF-- -Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line %d +Deprecated: 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 7f938a8492..111ec6c54d 100644 --- a/ext/posix/tests/posix_access_error_wrongparams.phpt +++ b/ext/posix/tests/posix_access_error_wrongparams.phpt @@ -28,7 +28,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 1e156f9515..ec0c3e8d8c 100644 --- a/ext/posix/tests/posix_access_safemode.phpt +++ b/ext/posix/tests/posix_access_safemode.phpt @@ -19,6 +19,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 9dbddc2611..6f1f092497 100644 --- a/ext/posix/tests/posix_mkfifo_safemode.phpt +++ b/ext/posix/tests/posix_mkfifo_safemode.phpt @@ -36,7 +36,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) |