From 531e6007bd10cbda6e1e96a9c27228086d85c5a9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 23 Jul 2019 15:24:54 +0200 Subject: [PATCH] Array and string offset access syntax with curly braces is deprecated --- tests/client021.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2