Skip to content

Commit 838b514

Browse files
committed
PHP74: Fix curly brace access
1 parent eed0269 commit 838b514

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)