我被困住了。我有 2 个要组合的数组,忽略空值并返回一个字符串。如:
$Array1 ( [0] => [1] => Monday [2] => Wednesday [3] => Friday [4] => Sunday )
$Array2 ( [0] => [1] => 8am [2] => [3] => 10am [4] => [5] => 2pm [6] => [7] => 4pm )
返回:
周一上午 8 点,周三上午 10 点,周五下午 2 点,周日下午 4 点
提前致谢...