PHP Fatal error: curly braces is no longer supported
-
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in ./wordfence/vendor/wordfence/wf-waf/src/lib/json.php on line 181
$bytes = (ord($utf16{0}) << 8) | ord($utf16{1});
since PHP 7.4 curly braces method to get individual characters inside a string has been deprecated, so change the above syntax into this:
$bytes = (ord($utf16[0]) << 8) | ord($utf16[1]);
thank
R
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP Fatal error: curly braces is no longer supported’ is closed to new replies.