- array_map: documentation ( source)
- var_export: documentation ( source)
- array_values: documentation ( source)
<?php
$where = [
'id' => [12,13,14],
'date'=>['1999-06-12','2000-03-21','2006-09-31']
];
var_export(array_map(null, ...array_values($where)));