diff options
| author | jvoisin | 2020-12-01 09:47:51 +0100 |
|---|---|---|
| committer | GitHub | 2020-12-01 09:47:51 +0100 |
| commit | 3b68dad2122d7e4a87a60f7161b7bc35d7c9b708 (patch) | |
| tree | 419c4ca82adc0af0054cfd6f42e16cf7f89e30fd /src/tests/disable_function/disabled_function_local_var_2.phpt | |
| parent | a60798c68db2dd627987e1429b169dbcd460bf2a (diff) | |
In tests, don't `die("skip")` but `print "skip"` instead (#358)
This is required since the `die` is making php8 choke
Diffstat (limited to 'src/tests/disable_function/disabled_function_local_var_2.phpt')
| -rw-r--r-- | src/tests/disable_function/disabled_function_local_var_2.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/disable_function/disabled_function_local_var_2.phpt b/src/tests/disable_function/disabled_function_local_var_2.phpt index d216bd2..076c3c5 100644 --- a/src/tests/disable_function/disabled_function_local_var_2.phpt +++ b/src/tests/disable_function/disabled_function_local_var_2.phpt | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | --TEST-- | 1 | --TEST-- |
| 2 | Disable functions - match on a local variable | 2 | Disable functions - match on a local variable |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | --INI-- | 5 | --INI-- |
| 6 | sp.configuration_file={PWD}/config/disabled_function_local_var.ini | 6 | sp.configuration_file={PWD}/config/disabled_function_local_var.ini |
| 7 | --FILE-- | 7 | --FILE-- |
