I want to replace all the null values in array with the blank values or empty string recursively.
Currrently my array is looking like this,which is perfect in structure, i want to replace every null value from it by empty string.
Array
(
[items] => Array
(
[0] => Array
(
[id] => 28
[name] => ABC
[goal] =>
[currency] =>
[images] =>
[start] => 1446159600
[stop] => 1446246000
)
[1] => Array
(
[id] => 29
[name] => XYZ
[goal] =>
[currency] =>
[images] =>
[start] => 1446159600
[stop] => 1446246000
)
)
)
Please show me shortest way to replace it.
array_walk_recursive()var_dump.