diff options
| author | jvoisin | 2019-02-23 12:06:51 +0100 |
|---|---|---|
| committer | jvoisin | 2019-02-23 12:12:45 +0100 |
| commit | d03c3c8d01f6f507bf844fec07477f30e3db61d9 (patch) | |
| tree | 040773d005257a0541da580c26bbb2b0831155b2 /src/tests/disable_function/config/disabled_function_local_var.ini | |
| parent | a48297dfc1144931e18073a87ed83ea337e3d37a (diff) | |
Fix the testsuite on php8.
In php8, it's non-trivial to hook strlen,
since this function is usually optimized away
by the compiler.
Diffstat (limited to 'src/tests/disable_function/config/disabled_function_local_var.ini')
| -rw-r--r-- | src/tests/disable_function/config/disabled_function_local_var.ini | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tests/disable_function/config/disabled_function_local_var.ini b/src/tests/disable_function/config/disabled_function_local_var.ini index 3d553c0..81b6771 100644 --- a/src/tests/disable_function/config/disabled_function_local_var.ini +++ b/src/tests/disable_function/config/disabled_function_local_var.ini | |||
| @@ -1,10 +1,10 @@ | |||
| 1 | sp.disable_function.function("phpinfo").var("$b").value("1337").drop(); | 1 | sp.disable_function.function("phpinfo").var("$b").value("1337").drop(); |
| 2 | sp.disable_function.function("strlen").var("$a").value("1337").drop(); | 2 | sp.disable_function.function("strtoupper").var("$a").value("1337").drop(); |
| 3 | sp.disable_function.function("strlen").var("$a['123']").value("block").drop(); | 3 | sp.disable_function.function("strtoupper").var("$a['123']").value("block").drop(); |
| 4 | sp.disable_function.function("strlen").var("$a[$c]->prop").value("block").drop(); | 4 | sp.disable_function.function("strtoupper").var("$a[$c]->prop").value("block").drop(); |
| 5 | sp.disable_function.function("strlen").var("$a->zxc").value("not a good value").drop(); | 5 | sp.disable_function.function("strtoupper").var("$a->zxc").value("not a good value").drop(); |
| 6 | sp.disable_function.function("strlen").var("\\asd\\test_object::TEST_VALUE['constant']").value("no good").drop(); | 6 | sp.disable_function.function("strtoupper").var("\\asd\\test_object::TEST_VALUE['constant']").value("no good").drop(); |
| 7 | sp.disable_function.function("strlen").var("\\asd\\test_object::TEST_VALUE").value("qwerty").drop(); | 7 | sp.disable_function.function("strtoupper").var("\\asd\\test_object::TEST_VALUE").value("qwerty").drop(); |
| 8 | sp.disable_function.function("strlen").var("\\qwe\\ASD").value("qwerty").drop(); | 8 | sp.disable_function.function("strtoupper").var("\\qwe\\ASD").value("qwerty").drop(); |
| 9 | sp.disable_function.function("strlen").var("\\qwe\\QWE['123']").value("asdfgh").drop(); | 9 | sp.disable_function.function("strtoupper").var("\\qwe\\QWE['123']").value("asdfgh").drop(); |
| 10 | sp.disable_function.function("strlen").var("$qwe").value("block this").drop(); | 10 | sp.disable_function.function("strtoupper").var("$qwe").value("block this").drop(); |
