$mixed
=
[
'product_id' => 'libgd%3Cscript%3E',
'component' => [
0 => 10,
],
'versions' => '2.0.33',
'doesnotexist' => NULL,
'testscalar' => false,
'testarray' => [
0 => 2,
],
]
#1
|
filter_var_array
|
(["product_id" => "libgd<script>", "component" => "10", "versions" => "2.0.33", "testscalar" => [0 => "2", 1 => "23", 2 => "10", 3 => "12"], "testarray" => "2"], |
#2
|
filter_var_array
|
(["width" => 2, "length" => 3, "height" => 4, "weight" => 5], |