From: Remi Collet Date: Tue, 23 Jul 2019 13:24:54 +0000 (+0200) Subject: Array and string offset access syntax with curly braces is deprecated X-Git-Tag: RELEASE_3_2_2~8 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=531e6007bd10cbda6e1e96a9c27228086d85c5a9 Array and string offset access syntax with curly braces is deprecated --- diff --git a/tests/client021.phpt b/tests/client021.phpt index f262a7a..702685d 100644 --- a/tests/client021.phpt +++ b/tests/client021.phpt @@ -16,7 +16,7 @@ function dump() { global $tmpfile, $section; printf("# %s\n", $section); foreach (file($tmpfile) as $line) { - if ($line{0} === "#" || $line === "\n") { + if ($line[0] === "#" || $line === "\n") { continue; } printf("%s:\t%s", $tmpfile, $line);