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. --- doc/source/config.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/source/config.rst b/doc/source/config.rst index 5f28532..89e063f 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst @@ -342,6 +342,8 @@ It's currently not possible to: without hooking the other, at least `for now `__). This is why hooked ``print`` will be displayed as ``echo`` in the logs. +- Hook `strlen`, since in latest PHP versions, this function is usually + optimized away by the compiled. Examples -- cgit v1.3