<?php $dateParts = ['year', 'month']; $timeParts = ['hour']; $parts = ['date' => $dateParts, 'time' => $timeParts]; var_dump(array_reduce($parts, array_merge, []));
You have javascript disabled. You will not be able to edit any code.