Closed richardhj closed 5 years ago
$varInput might be null, however, the code is constructed to expect an array.
$varInput
null
$varInput[$i]
\array_keys($varInput)
Invalid argument supplied for foreach()
count($varInput)
$varInput
might benull
, however, the code is constructed to expect an array.$varInput[$i]
\array_keys($varInput)
--> results inInvalid argument supplied for foreach()
count($varInput)
--> provokes error since PHP 7.2