- array_map: documentation ( source)
- var_export: documentation ( source)
<?php
$customer_data_new = array(
'billing_first_name' => array(
'0' =>'Test',
'1' => 1
),
'billing_last_name' => array(
'0' =>'Test',
'1' => 1
)
);
var_export(array_map('current', $customer_data_new));