From d03c3c8d01f6f507bf844fec07477f30e3db61d9 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 23 Feb 2019 12:06:51 +0100 Subject: Fix the testsuite on php8. In php8, it's non-trivial to hook strlen, since this function is usually optimized away by the compiler. --- .../config/disabled_function_local_var.ini | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/tests/disable_function/config/disabled_function_local_var.ini') 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 @@ sp.disable_function.function("phpinfo").var("$b").value("1337").drop(); -sp.disable_function.function("strlen").var("$a").value("1337").drop(); -sp.disable_function.function("strlen").var("$a['123']").value("block").drop(); -sp.disable_function.function("strlen").var("$a[$c]->prop").value("block").drop(); -sp.disable_function.function("strlen").var("$a->zxc").value("not a good value").drop(); -sp.disable_function.function("strlen").var("\\asd\\test_object::TEST_VALUE['constant']").value("no good").drop(); -sp.disable_function.function("strlen").var("\\asd\\test_object::TEST_VALUE").value("qwerty").drop(); -sp.disable_function.function("strlen").var("\\qwe\\ASD").value("qwerty").drop(); -sp.disable_function.function("strlen").var("\\qwe\\QWE['123']").value("asdfgh").drop(); -sp.disable_function.function("strlen").var("$qwe").value("block this").drop(); +sp.disable_function.function("strtoupper").var("$a").value("1337").drop(); +sp.disable_function.function("strtoupper").var("$a['123']").value("block").drop(); +sp.disable_function.function("strtoupper").var("$a[$c]->prop").value("block").drop(); +sp.disable_function.function("strtoupper").var("$a->zxc").value("not a good value").drop(); +sp.disable_function.function("strtoupper").var("\\asd\\test_object::TEST_VALUE['constant']").value("no good").drop(); +sp.disable_function.function("strtoupper").var("\\asd\\test_object::TEST_VALUE").value("qwerty").drop(); +sp.disable_function.function("strtoupper").var("\\qwe\\ASD").value("qwerty").drop(); +sp.disable_function.function("strtoupper").var("\\qwe\\QWE['123']").value("asdfgh").drop(); +sp.disable_function.function("strtoupper").var("$qwe").value("block this").drop(); -- cgit v1.3