From: Christian Weiske Date: Sun, 2 Apr 2023 16:57:18 +0000 (+0200) Subject: Fix string array access in php 8 X-Git-Url: https://git.cweiske.de/phinde.git/commitdiff_plain/a1c8309e4b3d8d5468c2defbc8bbae95633aff90?hp=56b393028a311d710ebff02ad34728296f9f9cfd Fix string array access in php 8 --- diff --git a/src/phinde/LinkExtractor/Html.php b/src/phinde/LinkExtractor/Html.php index b3a9ea6..299ed91 100644 --- a/src/phinde/LinkExtractor/Html.php +++ b/src/phinde/LinkExtractor/Html.php @@ -61,7 +61,7 @@ class Html } } } - if ($href == '' || $href{0} == '#') { + if ($href == '' || $href[0] == '#') { //link on this page continue; }