我有这个数组,其中天是关键,时间是值:
Array(
[Mon] => 9:00-10:00,12:00-15:00,10:00-14:00
[Tue] => 9:00-10:00,12:00-15:00
[Wed] => 9:00-10:00,12:00-15:00
[Thu] => 9:00-10:00,12:00-15:00
[Fri] => 9:00-10:00,12:00-15:00
[Sat] => 9:00-10:00,12:00-15:00
[Sun] => 10:00-14:00
)
我想要以这种方式相同的数组:
Array(
[Mon] => 9:00-10:00,12:00-15:00,10:00-14:00
[Tue/Wed/Thu/Fri/Sat] => 9:00-10:00,12:00-15:00
[Sun] => 10:00-14:00
)
任何人都可以帮助我吗?