New E_WARNING and E_NOTICE errors have been introduced when invalid strings are coerced using operators expecting numbers (+ - * / ** % << >> | & ^) or their assignment equivalents. An E_NOTICE is emitted when the string begins with a numeric value but contains trailing non-numeric characters, and an E_WARNING is emitted when the string does not contain a numeric value.
There is now E_NOTICE in function getConfigBytes. $val variable has to be stripped of last character (k, M, etc.) to be valid for numeric computations.
Due change in handling strings in PHP 7.1
There is now E_NOTICE in function getConfigBytes.
$val
variable has to be stripped of last character (k, M, etc.) to be valid for numeric computations.