summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/bug35176.phpt2
-rw-r--r--tests/lang/bug43958.phpt2
-rw-r--r--tests/output/bug46897.phpt4
-rw-r--r--tests/output/bug75236.phpt2
-rw-r--r--tests/output/ob_clean_basic_001.phpt2
-rw-r--r--tests/output/ob_end_clean_basic_001.phpt4
-rw-r--r--tests/output/ob_end_flush_basic_001.phpt4
-rw-r--r--tests/output/ob_flush_basic_001.phpt2
-rw-r--r--tests/output/ob_get_level_basic_001.phpt2
-rw-r--r--tests/output/ob_start_basic_005.phpt2
-rw-r--r--tests/output/ob_start_basic_006.phpt16
-rw-r--r--tests/output/ob_start_basic_unerasable_002.phpt6
-rw-r--r--tests/output/ob_start_basic_unerasable_003.phpt4
-rw-r--r--tests/output/ob_start_basic_unerasable_004.phpt4
-rw-r--r--tests/output/ob_start_basic_unerasable_005.phpt10
-rw-r--r--tests/output/ob_start_error_001.phpt2
-rw-r--r--tests/output/ob_start_error_002.phpt8
-rw-r--r--tests/output/ob_start_error_003.phpt2
-rw-r--r--tests/output/ob_start_error_004.phpt2
-rw-r--r--tests/security/open_basedir_copy.phpt16
-rw-r--r--tests/security/open_basedir_dir.phpt16
-rw-r--r--tests/security/open_basedir_error_log_variation.phpt6
-rw-r--r--tests/security/open_basedir_file.phpt16
-rw-r--r--tests/security/open_basedir_file_get_contents.phpt16
-rw-r--r--tests/security/open_basedir_file_put_contents.phpt10
-rw-r--r--tests/security/open_basedir_fopen.phpt16
-rw-r--r--tests/security/open_basedir_opendir.phpt16
-rw-r--r--tests/security/open_basedir_parse_ini_file.phpt14
-rw-r--r--tests/security/open_basedir_scandir.phpt16
29 files changed, 111 insertions, 111 deletions
diff --git a/tests/lang/bug35176.phpt b/tests/lang/bug35176.phpt
index 2928f7ec45..cbba52055d 100644
--- a/tests/lang/bug35176.phpt
+++ b/tests/lang/bug35176.phpt
@@ -10,6 +10,6 @@ require_once('nonexisiting.php');
?>
--EXPECTF--
<br />
-<b>Warning</b>: require_once(nonexisiting.php) [<a href='/function.require-once.html'>function.require-once.html</a>]: failed to open stream: No such file or directory in <b>%sbug35176.php</b> on line <b>2</b><br />
+<b>Warning</b>: require_once(nonexisiting.php) [<a href='/function.require-once.html'>function.require-once.html</a>]: Failed to open stream: No such file or directory in <b>%sbug35176.php</b> on line <b>2</b><br />
<br />
<b>Fatal error</b>: require_once() [<a href='/function.require.html'>function.require.html</a>]: Failed opening required 'nonexisiting.php' (%s) in <b>%sbug35176.php</b> on line <b>2</b><br />
diff --git a/tests/lang/bug43958.phpt b/tests/lang/bug43958.phpt
index c1fca9d633..498b132447 100644
--- a/tests/lang/bug43958.phpt
+++ b/tests/lang/bug43958.phpt
@@ -11,6 +11,6 @@ class MyClass
MyClass::loadCode('file-which-does-not-exist-on-purpose.php');
--EXPECTF--
-Warning: include(file-which-does-not-exist-on-purpose.php): failed to open stream: No such file or directory in %sbug43958.php on line 5
+Warning: include(file-which-does-not-exist-on-purpose.php): Failed to open stream: No such file or directory in %sbug43958.php on line 5
Warning: include(): Failed opening 'file-which-does-not-exist-on-purpose.php' for inclusion (include_path='%s') in %sbug43958.php on line 5
diff --git a/tests/output/bug46897.phpt b/tests/output/bug46897.phpt
index 8fe80bcb65..0e77938e47 100644
--- a/tests/output/bug46897.phpt
+++ b/tests/output/bug46897.phpt
@@ -18,10 +18,10 @@ echo 'Done';
?>
--EXPECTF--
[callback:1]Attempt to flush unerasable buffer - should fail...
-Notice: ob_flush(): failed to flush buffer of callback (0) in %s on line %d
+Notice: ob_flush(): Failed to flush buffer of callback (0) in %s on line %d
bool(false)
string(%d) "Attempt to flush unerasable buffer - should fail...
-Notice: ob_flush(): failed to flush buffer of callback (0) in %s on line %d
+Notice: ob_flush(): Failed to flush buffer of callback (0) in %s on line %d
bool(false)
"
Done
diff --git a/tests/output/bug75236.phpt b/tests/output/bug75236.phpt
index f6c7a51aa3..bee4732cb2 100644
--- a/tests/output/bug75236.phpt
+++ b/tests/output/bug75236.phpt
@@ -14,5 +14,5 @@ Bug #75236: infinite loop when printing an error-message
--EXPECTF--
before getfilecontent
<br />
-<b>Warning</b>: file_get_contents(no/suchfile): failed to open stream: No such file or directory in <b>%s</b> on line <b>7</b><br />
+<b>Warning</b>: file_get_contents(no/suchfile): Failed to open stream: No such file or directory in <b>%s</b> on line <b>7</b><br />
after getfilecontent
diff --git a/tests/output/ob_clean_basic_001.phpt b/tests/output/ob_clean_basic_001.phpt
index bd91676b12..584df6b81c 100644
--- a/tests/output/ob_clean_basic_001.phpt
+++ b/tests/output/ob_clean_basic_001.phpt
@@ -29,7 +29,7 @@ echo "Done";
-- Testing ob_clean() function with Zero arguments --
-Notice: ob_clean(): failed to delete buffer. No buffer to delete in %s on line 12
+Notice: ob_clean(): Failed to delete buffer. No buffer to delete in %s on line 12
bool(false)
string(61) "bool(true)
Ensure the buffer is still active after the clean."
diff --git a/tests/output/ob_end_clean_basic_001.phpt b/tests/output/ob_end_clean_basic_001.phpt
index 6824857675..491618ddbf 100644
--- a/tests/output/ob_end_clean_basic_001.phpt
+++ b/tests/output/ob_end_clean_basic_001.phpt
@@ -20,10 +20,10 @@ var_dump(ob_end_clean());
?>
--EXPECTF--
-Notice: ob_end_clean(): failed to delete buffer. No buffer to delete in %s on line 7
+Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in %s on line 7
bool(false)
bool(true)
bool(true)
-Notice: ob_end_clean(): failed to delete buffer. No buffer to delete in %s on line 16
+Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in %s on line 16
bool(false)
diff --git a/tests/output/ob_end_flush_basic_001.phpt b/tests/output/ob_end_flush_basic_001.phpt
index 811d6a0761..00e70b3b92 100644
--- a/tests/output/ob_end_flush_basic_001.phpt
+++ b/tests/output/ob_end_flush_basic_001.phpt
@@ -30,12 +30,12 @@ echo "Done";
-- Testing ob_end_flush() function with Zero arguments --
-Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to delete or flush in %s on line 12
+Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in %s on line 12
bool(false)
bool(true)
Hello
bool(true)
-Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to delete or flush in %s on line 21
+Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in %s on line 21
bool(false)
Done
diff --git a/tests/output/ob_flush_basic_001.phpt b/tests/output/ob_flush_basic_001.phpt
index e53c7e5a23..6c98738d47 100644
--- a/tests/output/ob_flush_basic_001.phpt
+++ b/tests/output/ob_flush_basic_001.phpt
@@ -30,7 +30,7 @@ echo "Done";
-- Testing ob_flush() function with Zero arguments --
-Notice: ob_flush(): failed to flush buffer. No buffer to flush in %s on line 12
+Notice: ob_flush(): Failed to flush buffer. No buffer to flush in %s on line 12
bool(false)
This should get flushed.
bool(true)
diff --git a/tests/output/ob_get_level_basic_001.phpt b/tests/output/ob_get_level_basic_001.phpt
index 4a6c84785b..f9b009ac8e 100644
--- a/tests/output/ob_get_level_basic_001.phpt
+++ b/tests/output/ob_get_level_basic_001.phpt
@@ -42,6 +42,6 @@ int(2)
int(1)
int(0)
-Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to delete or flush in %s on line 26
+Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in %s on line 26
int(0)
Done
diff --git a/tests/output/ob_start_basic_005.phpt b/tests/output/ob_start_basic_005.phpt
index dda6587614..9cd5a0dded 100644
--- a/tests/output/ob_start_basic_005.phpt
+++ b/tests/output/ob_start_basic_005.phpt
@@ -27,7 +27,7 @@ checkAndClean();
--EXPECTF--
Warning: ob_start(): non-static method C::h() cannot be called statically in %s on line %d
-Notice: ob_start(): failed to create buffer in %s on line %d
+Notice: ob_start(): Failed to create buffer in %s on line %d
bool(false)
Array
(
diff --git a/tests/output/ob_start_basic_006.phpt b/tests/output/ob_start_basic_006.phpt
index d4d0fcc149..b3aef511ac 100644
--- a/tests/output/ob_start_basic_006.phpt
+++ b/tests/output/ob_start_basic_006.phpt
@@ -43,7 +43,7 @@ function checkAndClean() {
}
}
-echo "\n ---> Test arrays: \n";
+echo "\n ---> Test arrays:\n";
var_dump(ob_start(array("f")));
checkAndClean();
@@ -72,11 +72,11 @@ var_dump(ob_start(array('f', 'C::g', array(array($c, "g"), array($c, "h")))));
checkAndClean();
?>
--EXPECTF--
- ---> Test arrays:
+ ---> Test arrays:
Warning: ob_start(): array must have exactly two members in %s on line 44
-Notice: ob_start(): failed to create buffer in %s on line 44
+Notice: ob_start(): Failed to create buffer in %s on line 44
bool(false)
Array
(
@@ -84,7 +84,7 @@ Array
Warning: ob_start(): class 'f' not found in %s on line 47
-Notice: ob_start(): failed to create buffer in %s on line 47
+Notice: ob_start(): Failed to create buffer in %s on line 47
bool(false)
Array
(
@@ -92,7 +92,7 @@ Array
Warning: ob_start(): array must have exactly two members in %s on line 50
-Notice: ob_start(): failed to create buffer in %s on line 50
+Notice: ob_start(): Failed to create buffer in %s on line 50
bool(false)
Array
(
@@ -100,7 +100,7 @@ Array
Warning: ob_start(): array must have exactly two members in %s on line 53
-Notice: ob_start(): failed to create buffer in %s on line 53
+Notice: ob_start(): Failed to create buffer in %s on line 53
bool(false)
Array
(
@@ -108,7 +108,7 @@ Array
Warning: ob_start(): array must have exactly two members in %s on line 56
-Notice: ob_start(): failed to create buffer in %s on line 56
+Notice: ob_start(): Failed to create buffer in %s on line 56
bool(false)
Array
(
@@ -128,7 +128,7 @@ Array
Warning: ob_start(): array must have exactly two members in %s on line 68
-Notice: ob_start(): failed to create buffer in %s on line 68
+Notice: ob_start(): Failed to create buffer in %s on line 68
bool(false)
Array
(
diff --git a/tests/output/ob_start_basic_unerasable_002.phpt b/tests/output/ob_start_basic_unerasable_002.phpt
index 4fc1f53635..967f467f75 100644
--- a/tests/output/ob_start_basic_unerasable_002.phpt
+++ b/tests/output/ob_start_basic_unerasable_002.phpt
@@ -21,13 +21,13 @@ var_dump(ob_get_level());
--EXPECTF--
[callback:1]All of the following calls will fail to clean/remove the topmost buffer:
-Notice: ob_clean(): failed to delete buffer of callback (0) in %s on line 11
+Notice: ob_clean(): Failed to delete buffer of callback (0) in %s on line 11
bool(false)
-Notice: ob_end_clean(): failed to discard buffer of callback (0) in %s on line 12
+Notice: ob_end_clean(): Failed to discard buffer of callback (0) in %s on line 12
bool(false)
-Notice: ob_end_flush(): failed to send buffer of callback (0) in %s on line 13
+Notice: ob_end_flush(): Failed to send buffer of callback (0) in %s on line 13
bool(false)
The OB nesting will still be 1 level deep:
int(1)
diff --git a/tests/output/ob_start_basic_unerasable_003.phpt b/tests/output/ob_start_basic_unerasable_003.phpt
index 9c09bd5e5f..a881d271b6 100644
--- a/tests/output/ob_start_basic_unerasable_003.phpt
+++ b/tests/output/ob_start_basic_unerasable_003.phpt
@@ -16,7 +16,7 @@ var_dump($str);
?>
--EXPECTF--
[callback:1]This call will obtain the content, but will not clean the buffer.
-Notice: ob_get_clean(): failed to discard buffer of callback (0) in %s on line 11
+Notice: ob_get_clean(): Failed to discard buffer of callback (0) in %s on line 11
-Notice: ob_get_clean(): failed to delete buffer of callback (0) in %s on line 11
+Notice: ob_get_clean(): Failed to delete buffer of callback (0) in %s on line 11
string(65) "This call will obtain the content, but will not clean the buffer."
diff --git a/tests/output/ob_start_basic_unerasable_004.phpt b/tests/output/ob_start_basic_unerasable_004.phpt
index 02308b3ef4..83702fc08f 100644
--- a/tests/output/ob_start_basic_unerasable_004.phpt
+++ b/tests/output/ob_start_basic_unerasable_004.phpt
@@ -16,7 +16,7 @@ var_dump($str);
?>
--EXPECTF--
[callback:1]This call will obtain the content, but will not flush the buffer.
-Notice: ob_get_flush(): failed to send buffer of callback (0) in %s on line 11
+Notice: ob_get_flush(): Failed to send buffer of callback (0) in %s on line 11
-Notice: ob_get_flush(): failed to delete buffer of callback (0) in %s on line 11
+Notice: ob_get_flush(): Failed to delete buffer of callback (0) in %s on line 11
string(65) "This call will obtain the content, but will not flush the buffer."
diff --git a/tests/output/ob_start_basic_unerasable_005.phpt b/tests/output/ob_start_basic_unerasable_005.phpt
index 2c52f00c24..86c752e98b 100644
--- a/tests/output/ob_start_basic_unerasable_005.phpt
+++ b/tests/output/ob_start_basic_unerasable_005.phpt
@@ -10,16 +10,16 @@ function callback($string) {
ob_start('callback', 0, false);
-echo "Attempt to flush unerasable buffer - should fail... ";
+echo "Attempt to flush unerasable buffer - should fail...";
var_dump(ob_flush());
// Check content of buffer after flush - if flush failed it should still contain the string above.
var_dump(ob_get_contents());
?>
--EXPECTF--
-[callback:1]Attempt to flush unerasable buffer - should fail...
-Notice: ob_flush(): failed to flush buffer of callback (0) in %s on line 11
+[callback:1]Attempt to flush unerasable buffer - should fail...
+Notice: ob_flush(): Failed to flush buffer of callback (0) in %s on line 11
bool(false)
-string(%d) "Attempt to flush unerasable buffer - should fail...
-Notice: ob_flush(): failed to flush buffer of callback (0) in %s on line 11
+string(%d) "Attempt to flush unerasable buffer - should fail...
+Notice: ob_flush(): Failed to flush buffer of callback (0) in %s on line 11
bool(false)
"
diff --git a/tests/output/ob_start_error_001.phpt b/tests/output/ob_start_error_001.phpt
index 83b3a4186d..c838c18bac 100644
--- a/tests/output/ob_start_error_001.phpt
+++ b/tests/output/ob_start_error_001.phpt
@@ -25,5 +25,5 @@ Arg 1 wrong type
Warning: ob_start(): no array or string given in %s on line 17
-Notice: ob_start(): failed to create buffer in %s on line 17
+Notice: ob_start(): Failed to create buffer in %s on line 17
bool(false)
diff --git a/tests/output/ob_start_error_002.phpt b/tests/output/ob_start_error_002.phpt
index 7cac3ee4b3..e3f45af3df 100644
--- a/tests/output/ob_start_error_002.phpt
+++ b/tests/output/ob_start_error_002.phpt
@@ -22,21 +22,21 @@ echo "done"
--EXPECTF--
Warning: ob_start(): class 'nonExistent' not found in %s on line 13
-Notice: ob_start(): failed to create buffer in %s on line 13
+Notice: ob_start(): Failed to create buffer in %s on line 13
bool(false)
Warning: ob_start(): class 'C' does not have a method 'nonExistent' in %s on line 14
-Notice: ob_start(): failed to create buffer in %s on line 14
+Notice: ob_start(): Failed to create buffer in %s on line 14
bool(false)
Warning: ob_start(): class 'C' does not have a method 'no' in %s on line 15
-Notice: ob_start(): failed to create buffer in %s on line 15
+Notice: ob_start(): Failed to create buffer in %s on line 15
bool(false)
Warning: ob_start(): function 'no' not found or invalid function name in %s on line 16
-Notice: ob_start(): failed to create buffer in %s on line 16
+Notice: ob_start(): Failed to create buffer in %s on line 16
bool(false)
done
diff --git a/tests/output/ob_start_error_003.phpt b/tests/output/ob_start_error_003.phpt
index 3af56f7a2b..30b030daf7 100644
--- a/tests/output/ob_start_error_003.phpt
+++ b/tests/output/ob_start_error_003.phpt
@@ -17,6 +17,6 @@ echo "done"
--EXPECTF--
Warning: ob_start(): array must have exactly two members in %s on line %d
-Notice: ob_start(): failed to create buffer in %s on line 11
+Notice: ob_start(): Failed to create buffer in %s on line 11
bool(false)
done
diff --git a/tests/output/ob_start_error_004.phpt b/tests/output/ob_start_error_004.phpt
index 83f5dc8d1c..ecbb40e7fc 100644
--- a/tests/output/ob_start_error_004.phpt
+++ b/tests/output/ob_start_error_004.phpt
@@ -17,6 +17,6 @@ echo "done"
--EXPECTF--
Warning: ob_start(): class 'C' does not have a method 'f' in %s on line %d
-Notice: ob_start(): failed to create buffer in %s on line 11
+Notice: ob_start(): Failed to create buffer in %s on line 11
bool(false)
done
diff --git a/tests/security/open_basedir_copy.phpt b/tests/security/open_basedir_copy.phpt
index 989570d640..82806b8fb8 100644
--- a/tests/security/open_basedir_copy.phpt
+++ b/tests/security/open_basedir_copy.phpt
@@ -35,42 +35,42 @@ bool(true)
Warning: copy(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(../bad): failed to open stream: %s in %s on line %d
+Warning: copy(../bad): Failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(../bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: copy(../bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(..): failed to open stream: %s in %s on line %d
+Warning: copy(..): Failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(../): failed to open stream: %s in %s on line %d
+Warning: copy(../): Failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(/): failed to open stream: %s in %s on line %d
+Warning: copy(/): Failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(../bad/.): failed to open stream: %s in %s on line %d
+Warning: copy(../bad/.): Failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(../bad/./bad.txt): failed to open stream: %s in %s on line %d
+Warning: copy(../bad/./bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: copy(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
-Warning: copy(./../.): failed to open stream: %s in %s on line %d
+Warning: copy(./../.): Failed to open stream: %s in %s on line %d
bool(false)
bool(true)
bool(true)
diff --git a/tests/security/open_basedir_dir.phpt b/tests/security/open_basedir_dir.phpt
index 90f55e5a95..10181c3efa 100644
--- a/tests/security/open_basedir_dir.phpt
+++ b/tests/security/open_basedir_dir.phpt
@@ -30,42 +30,42 @@ bool(true)
Warning: dir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
-Warning: dir(../bad): failed to open dir: %s in %s on line %d
+Warning: dir(../bad): Failed to open directory: %s in %s on line %d
bool(false)
Warning: dir(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: dir(../bad/bad.txt): failed to open dir: %s in %s on line %d
+Warning: dir(../bad/bad.txt): Failed to open directory: %s in %s on line %d
bool(false)
Warning: dir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
-Warning: dir(..): failed to open dir: %s in %s on line %d
+Warning: dir(..): Failed to open directory: %s in %s on line %d
bool(false)
Warning: dir(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
-Warning: dir(../): failed to open dir: %s in %s on line %d
+Warning: dir(../): Failed to open directory: %s in %s on line %d
bool(false)
Warning: dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
-Warning: dir(/): failed to open dir: %s in %s on line %d
+Warning: dir(/): Failed to open directory: %s in %s on line %d
bool(false)
Warning: dir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
-Warning: dir(../bad/.): failed to open dir: %s in %s on line %d
+Warning: dir(../bad/.): Failed to open directory: %s in %s on line %d
bool(false)
Warning: dir(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: dir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d
+Warning: dir(%s/test/bad/bad.txt): Failed to open directory: %s in %s on line %d
bool(false)
Warning: dir(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: dir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on line %d
+Warning: dir(%s/test/bad/../bad/bad.txt): Failed to open directory: %s in %s on line %d
bool(false)
object(Directory)#%d (2) {
["path"]=>
diff --git a/tests/security/open_basedir_error_log_variation.phpt b/tests/security/open_basedir_error_log_variation.phpt
index e3cb15d258..4a7b14b004 100644
--- a/tests/security/open_basedir_error_log_variation.phpt
+++ b/tests/security/open_basedir_error_log_variation.phpt
@@ -32,17 +32,17 @@ bool(true)
Warning: error_log(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: error_log(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: error_log(%s/test/bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: error_log(): open_basedir restriction in effect. File(%s/test/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: error_log(%s/test/bad.txt): failed to open stream: %s in %s on line %d
+Warning: error_log(%s/test/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: error_log(): open_basedir restriction in effect. File(%s/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: error_log(%s/bad.txt): failed to open stream: %s in %s on line %d
+Warning: error_log(%s/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
bool(true)
*** Finished testing open_basedir configuration [error_log] ***
diff --git a/tests/security/open_basedir_file.phpt b/tests/security/open_basedir_file.phpt
index 3382ae865d..e3d2a5d8a6 100644
--- a/tests/security/open_basedir_file.phpt
+++ b/tests/security/open_basedir_file.phpt
@@ -31,42 +31,42 @@ bool(true)
Warning: file(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
-Warning: file(../bad): failed to open stream: %s in %s on line %d
+Warning: file(../bad): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: file(../bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: file(../bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
-Warning: file(..): failed to open stream: %s in %s on line %d
+Warning: file(..): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
-Warning: file(../): failed to open stream: %s in %s on line %d
+Warning: file(../): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
-Warning: file(/): failed to open stream: %s in %s on line %d
+Warning: file(/): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
-Warning: file(../bad/.): failed to open stream: %s in %s on line %d
+Warning: file(../bad/.): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: file(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: file(%s/test/bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: file(%s/test/bad/../bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: file(%s/test/bad/../bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
array(1) {
[0]=>
diff --git a/tests/security/open_basedir_file_get_contents.phpt b/tests/security/open_basedir_file_get_contents.phpt
index b5a34de074..91a3eb0980 100644
--- a/tests/security/open_basedir_file_get_contents.phpt
+++ b/tests/security/open_basedir_file_get_contents.phpt
@@ -31,42 +31,42 @@ bool(true)
Warning: file_get_contents(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_get_contents(../bad): failed to open stream: %s in %s on line %d
+Warning: file_get_contents(../bad): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file_get_contents(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_get_contents(../bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: file_get_contents(../bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file_get_contents(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_get_contents(..): failed to open stream: %s in %s on line %d
+Warning: file_get_contents(..): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file_get_contents(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_get_contents(../): failed to open stream: %s in %s on line %d
+Warning: file_get_contents(../): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file_get_contents(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_get_contents(/): failed to open stream: %s in %s on line %d
+Warning: file_get_contents(/): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file_get_contents(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_get_contents(../bad/.): failed to open stream: %s in %s on line %d
+Warning: file_get_contents(../bad/.): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file_get_contents(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_get_contents(%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: file_get_contents(%s/test/bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file_get_contents(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_get_contents(%s/test/bad/../bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: file_get_contents(%s/test/bad/../bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
string(12) "Hello World!"
string(12) "Hello World!"
diff --git a/tests/security/open_basedir_file_put_contents.phpt b/tests/security/open_basedir_file_put_contents.phpt
index 9f1f3bf13b..b7536d973a 100644
--- a/tests/security/open_basedir_file_put_contents.phpt
+++ b/tests/security/open_basedir_file_put_contents.phpt
@@ -31,26 +31,26 @@ bool(true)
Warning: file_put_contents(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_put_contents(../bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: file_put_contents(../bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file_put_contents(): open_basedir restriction in effect. File(.././bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_put_contents(.././bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: file_put_contents(.././bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file_put_contents(): open_basedir restriction in effect. File(../bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_put_contents(../bad/../bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: file_put_contents(../bad/../bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file_put_contents(): open_basedir restriction in effect. File(./.././bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_put_contents(./.././bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: file_put_contents(./.././bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: file_put_contents(): open_basedir restriction in effect. File%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: file_put_contents%s/test/bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: file_put_contents%s/test/bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
*** Finished testing open_basedir configuration [file_put_contents] ***
diff --git a/tests/security/open_basedir_fopen.phpt b/tests/security/open_basedir_fopen.phpt
index e0fee66f0c..cd4a644edc 100644
--- a/tests/security/open_basedir_fopen.phpt
+++ b/tests/security/open_basedir_fopen.phpt
@@ -40,42 +40,42 @@ bool(true)
Warning: fopen(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
-Warning: fopen(../bad): failed to open stream: %s in %s on line %d
+Warning: fopen(../bad): Failed to open stream: %s in %s on line %d
bool(false)
Warning: fopen(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: fopen(../bad/bad.txt): failed to open stream: %s in %s on line %d
+Warning: fopen(../bad/bad.txt): Failed to open stream: %s in %s on line %d
bool(false)
Warning: fopen(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
-Warning: fopen(..): failed to open stream: %s in %s on line %d
+Warning: fopen(..): Failed to open stream: %s in %s on line %d
bool(false)
Warning: fopen(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
-Warning: fopen(../): failed to open stream: %s in %s on line %d
+Warning: fopen(../): Failed to open stream: %s in %s on line %d
bool(false)
Warning: fopen(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
-Warning: fopen(/): failed to open stream: %s in %s on line %d
+Warning: fopen(/): Failed to open stream: %s in %s on line %d
bool(false)
Warning: fopen(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
-Warning: fopen(../bad/.): failed to open stream: %s in %s on line %d
+Warning: fopen(../bad/.): Failed to open stream: %s in %s on line %d
bool(false)
Warning: fopen(): open_basedir restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: fopen(../bad/./bad.txt): failed to open stream: %s in %s on line 12
+Warning: fopen(../bad/./bad.txt): Failed to open stream: %s in %s on line 12
bool(false)
Warning: fopen(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on line %d
-Warning: fopen(./../.): failed to open stream: %s in %s on line %d
+Warning: fopen(./../.): Failed to open stream: %s in %s on line %d
bool(false)
resource(%d) of type (stream)
resource(%d) of type (stream)
diff --git a/tests/security/open_basedir_opendir.phpt b/tests/security/open_basedir_opendir.phpt
index 6b88e13080..caf5a71bec 100644
--- a/tests/security/open_basedir_opendir.phpt
+++ b/tests/security/open_basedir_opendir.phpt
@@ -29,42 +29,42 @@ bool(true)
Warning: opendir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
-Warning: opendir(../bad): failed to open dir: %s in %s on line %d
+Warning: opendir(../bad): Failed to open directory: %s in %s on line %d
bool(false)
Warning: opendir(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: opendir(../bad/bad.txt): failed to open dir: %s in %s on line %d
+Warning: opendir(../bad/bad.txt): Failed to open directory: %s in %s on line %d
bool(false)
Warning: opendir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
-Warning: opendir(..): failed to open dir: %s in %s on line %d
+Warning: opendir(..): Failed to open directory: %s in %s on line %d
bool(false)
Warning: opendir(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
-Warning: opendir(../): failed to open dir: %s in %s on line %d
+Warning: opendir(../): Failed to open directory: %s in %s on line %d
bool(false)
Warning: opendir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
-Warning: opendir(/): failed to open dir: %s in %s on line %d
+Warning: opendir(/): Failed to open directory: %s in %s on line %d
bool(false)
Warning: opendir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
-Warning: opendir(../bad/.): failed to open dir: %s in %s on line %d
+Warning: opendir(../bad/.): Failed to open directory: %s in %s on line %d
bool(false)
Warning: opendir(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: opendir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d
+Warning: opendir(%s/test/bad/bad.txt): Failed to open directory: %s in %s on line %d
bool(false)
Warning: opendir(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: opendir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on line %d
+Warning: opendir(%s/test/bad/../bad/bad.txt): Failed to open directory: %s in %s on line %d
bool(false)
resource(%d) of type (stream)
resource(%d) of type (stream)
diff --git a/tests/security/open_basedir_parse_ini_file.phpt b/tests/security/open_basedir_parse_ini_file.phpt
index 11db63fa50..7c9cbd8d12 100644
--- a/tests/security/open_basedir_parse_ini_file.phpt
+++ b/tests/security/open_basedir_parse_ini_file.phpt
@@ -39,36 +39,36 @@ bool(true)
Warning: parse_ini_file(): open_basedir restriction in effect. File(%stest\bad) is not within the allowed path(s): (.) in %sopen_basedir_parse_ini_file.php on line 6
-Warning: parse_ini_file(%stest\bad): failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 6
+Warning: parse_ini_file(%stest\bad): Failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 6
bool(false)
Warning: parse_ini_file(): open_basedir restriction in effect. File(%stest\bad\bad.txt) is not within the allowed path(s): (.) in %sopen_basedir_parse_ini_file.php on line 7
-Warning: parse_ini_file(%stest\bad\bad.txt): failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 7
+Warning: parse_ini_file(%stest\bad\bad.txt): Failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 7
bool(false)
Warning: parse_ini_file(): open_basedir restriction in effect. File(%stest) is not within the allowed path(s): (.) in %sopen_basedir_parse_ini_file.php on line 8
-Warning: parse_ini_file(%stest): failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 8
+Warning: parse_ini_file(%stest): Failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 8
bool(false)
Warning: parse_ini_file(): open_basedir restriction in effect. File(%stest) is not within the allowed path(s): (.) in %sopen_basedir_parse_ini_file.php on line 9
-Warning: parse_ini_file(%stest): failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 9
+Warning: parse_ini_file(%stest): Failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 9
bool(false)
Warning: parse_ini_file(): open_basedir restriction in effect. File(%stest\bad) is not within the allowed path(s): (.) in %sopen_basedir_parse_ini_file.php on line 10
-Warning: parse_ini_file(%stest\bad): failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 10
+Warning: parse_ini_file(%stest\bad): Failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 10
bool(false)
Warning: parse_ini_file(): open_basedir restriction in effect. File(%stest\bad\bad.txt) is not within the allowed path(s): (.) in %sopen_basedir_parse_ini_file.php on line 11
-Warning: parse_ini_file(%stest\bad\bad.txt): failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 11
+Warning: parse_ini_file(%stest\bad\bad.txt): Failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 11
bool(false)
Warning: parse_ini_file(): open_basedir restriction in effect. File(%stest) is not within the allowed path(s): (.) in %sopen_basedir_parse_ini_file.php on line 12
-Warning: parse_ini_file(%stest): failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 12
+Warning: parse_ini_file(%stest): Failed to open stream: Operation not permitted in %sopen_basedir_parse_ini_file.php on line 12
bool(false)
*** Finished testing open_basedir configuration [parse_ini_file] ***
diff --git a/tests/security/open_basedir_scandir.phpt b/tests/security/open_basedir_scandir.phpt
index 46ea790610..0a629cb9e7 100644
--- a/tests/security/open_basedir_scandir.phpt
+++ b/tests/security/open_basedir_scandir.phpt
@@ -29,56 +29,56 @@ bool(true)
Warning: scandir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on line %d
-Warning: scandir(../bad): failed to open dir: %s in %s on line %d
+Warning: scandir(../bad): Failed to open directory: %s in %s on line %d
Warning: scandir(): (errno 1): %s in %s on line %d
bool(false)
Warning: scandir(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: scandir(../bad/bad.txt): failed to open dir: %s in %s on line %d
+Warning: scandir(../bad/bad.txt): Failed to open directory: %s in %s on line %d
Warning: scandir(): (errno 1): %s in %s on line %d
bool(false)
Warning: scandir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on line %d
-Warning: scandir(..): failed to open dir: %s in %s on line %d
+Warning: scandir(..): Failed to open directory: %s in %s on line %d
Warning: scandir(): (errno 1): %s in %s on line %d
bool(false)
Warning: scandir(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on line %d
-Warning: scandir(../): failed to open dir: %s in %s on line %d
+Warning: scandir(../): Failed to open directory: %s in %s on line %d
Warning: scandir(): (errno 1): %s in %s on line %d
bool(false)
Warning: scandir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on line %d
-Warning: scandir(/): failed to open dir: %s in %s on line %d
+Warning: scandir(/): Failed to open directory: %s in %s on line %d
Warning: scandir(): (errno 1): %s in %s on line %d
bool(false)
Warning: scandir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on line %d
-Warning: scandir(../bad/.): failed to open dir: %s in %s on line %d
+Warning: scandir(../bad/.): Failed to open directory: %s in %s on line %d
Warning: scandir(): (errno 1): %s in %s on line %d
bool(false)
Warning: scandir(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: scandir(%s/test/bad/bad.txt): failed to open dir: %s in %s on line %d
+Warning: scandir(%s/test/bad/bad.txt): Failed to open directory: %s in %s on line %d
Warning: scandir(): (errno 1): %s in %s on line %d
bool(false)
Warning: scandir(): open_basedir restriction in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on line %d
-Warning: scandir(%s/test/bad/../bad/bad.txt): failed to open dir: %s in %s on line %d
+Warning: scandir(%s/test/bad/../bad/bad.txt): Failed to open directory: %s in %s on line %d
Warning: scandir(): (errno 1): %s in %s on line %d
bool(false)