I try to sanitize an integer
$myInt = $this->filter->sanitize(34, "int");
var_dump($myInt)
The output is string '34' (length=2). Is this a bug or am I missing something?
As I do this very dynamically in my code I can't add (int)
Best, Thorsten
I try to sanitize an integer
$myInt = $this->filter->sanitize(34, "int");
var_dump($myInt)
The output is string '34' (length=2). Is this a bug or am I missing something?
As I do this very dynamically in my code I can't add (int)
Best, Thorsten