Skip to content

Commit a2cd159

Browse files
committed
fix notice for int values with suffixes (ex: 8M)
1 parent b7879c8 commit a2cd159

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ private static function iniGetBytes($val)
163163
} else {
164164
$last = '';
165165
}
166+
$val = (int) $val;
166167
switch ($last) {
167168
// The 'G' modifier is available since PHP 5.1.0
168169
case 'g':

0 commit comments

Comments
 (0)