diff options
| author | jvoisin | 2020-10-03 14:45:50 +0200 |
|---|---|---|
| committer | jvoisin | 2020-10-03 15:03:04 +0200 |
| commit | 326c6dbcd66b4911df3ad603ee0ae36b78999189 (patch) | |
| tree | 232c08c9ee2f34435ae645ade51bffa004c8fd6c /src | |
| parent | a59c3622848840f55a22ed91bf782775f43a40a1 (diff) | |
Fix the testsuite for php7.4
Diffstat (limited to 'src')
| -rw-r--r-- | src/tests/stream_wrapper/stream_wrapper_restore.phpt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/tests/stream_wrapper/stream_wrapper_restore.phpt b/src/tests/stream_wrapper/stream_wrapper_restore.phpt index b4a29c8..e1e9604 100644 --- a/src/tests/stream_wrapper/stream_wrapper_restore.phpt +++ b/src/tests/stream_wrapper/stream_wrapper_restore.phpt | |||
| @@ -2,16 +2,17 @@ | |||
| 2 | Stream wrapper | 2 | Stream wrapper |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | <?php if (PHP_VERSION_ID >= 70400) { die("skip BROKEN with 7.4"); } ?> | ||
| 5 | --INI-- | 6 | --INI-- |
| 6 | sp.configuration_file={PWD}/config/config_stream_wrapper_register.ini | 7 | sp.configuration_file={PWD}/config/config_stream_wrapper_register.ini |
| 7 | --FILE-- | 8 | --FILE-- |
| 8 | <?php | 9 | <?php |
| 9 | stream_wrapper_restore("file"); | 10 | stream_wrapper_restore("stdin"); |
| 10 | fopen("file://asdasd", "r"); | 11 | fopen("stdin://asdasd", "r"); |
| 11 | ?> | 12 | ?> |
| 12 | --EXPECTF-- | 13 | --EXPECTF-- |
| 13 | Notice: stream_wrapper_restore(): file:// was never changed, nothing to restore in %a/stream_wrapper_restore.php on line %d | 14 | Notice: stream_wrapper_restore(): stdin:// was never changed, nothing to restore in %a/stream_wrapper_restore.php on line %d |
| 14 | 15 | ||
| 15 | Warning: fopen(): Unable to find the wrapper "file" - did you forget to enable it when you configured PHP? in %a/stream_wrapper_restore.php on line %d | 16 | Warning: fopen(): Unable to find the wrapper "stdin" - did you forget to enable it when you configured PHP? in %a/stream_wrapper_restore.php on line %d |
| 16 | 17 | ||
| 17 | Warning: fopen(file://asdasd): failed to open stream: No such file or directory in %a/stream_wrapper_restore.php on line %d | 18 | Warning: fopen(stdin://asdasd): failed to open stream: No such file or directory in %a/stream_wrapper_restore.php on line %d |
