Skip to content

Commit d601c48

Browse files
authored
Merge pull request #54 from homersimpsons/fix/php74-curly-brace-access
PHP74: Fix curly brace access
2 parents eed0269 + 838b514 commit d601c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mouf/Mvc/Splash/Routers/PhpVarsCheckRouter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private static function iniGetBytes($val)
6363
$val = trim(ini_get($val));
6464
if ($val != '') {
6565
$last = strtolower(
66-
$val{strlen($val) - 1}
66+
$val[strlen($val) - 1]
6767
);
6868
} else {
6969
$last = '';

0 commit comments

Comments
 (0)