I have input field that i fill array when i dump that array become string type.
my input on field :
$value = "array()";
Expected Output :
$value = array();
I want to fill input with array type and get it as array type again.
Please help me, thank you.
Would something like this work for you?
if ($value == "array()") $value = array();