Error — Since PHP 7.0, functions inspecting arguments, like debug_backtrace(),
-
Using PHPCS to check PHP 8.0 and 8.1 compatability, I get these four errors on both 8.0 and 8.1.
Please check, and fix them.-------------------------------------------------------------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES -------------------------------------------------------------------------------------------------------------------------- 96 | ERROR | Since PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer report the original | | value as passed to a parameter, but will instead provide the current value. The parameter "$content" was | | changed on line 32. 785 | ERROR | Since PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer report the original | | value as passed to a parameter, but will instead provide the current value. The parameter "$content" was | | changed on line 32. 1443 | ERROR | Since PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer report the original | | value as passed to a parameter, but will instead provide the current value. The parameter "$content" was | | changed on line 32. --------------------------------------------------------------------------------------------------------------------------
Thanks.
- The topic ‘Error — Since PHP 7.0, functions inspecting arguments, like debug_backtrace(),’ is closed to new replies.