I want to seperate the values of array by string and integer to make it more readable.
Example:
$array = [1,2,3,"string"];
Return would be like this:
'int' => [
1,
2,
3
]
'string' => [
"string"
]
I want to seperate the values of array by string and integer to make it more readable.
Example:
$array = [1,2,3,"string"];
Return would be like this:
'int' => [
1,
2,
3
]
'string' => [
"string"
]