- array_map: documentation ( source)
- print_r: documentation ( source)
- str_replace: documentation ( source)
<?php
// Everything you enter here will be executed by our servers. Try it!
$array = array(
"action" => "\"foo\"",
"class" => "\"bar\""
);
print_r($array);
$clean = array_map(function($item) {
return str_replace("\"", "", $item);
});