I have a question. Let say I have three or more arrays:

```
[weekly] => Array (
                [1] => Array
                    (
                        [0] => 11:00
                        [1] => 11:00
                    )

                [2] => Array
                    (
                        [0] => 13:00
                        [1] => 16:00
                    )

                [5] => Array
                    (
                        [0] => 08:00
                        [1] => 12:00
                        [2] => 15:00
                    )
                ... 
              )

```

I tried to use array\_unique() in foreach() loop but I can't catch that the first array has duplicate value. Actually, I would like to check if one of the array in the weekly array has a duplicate value and will return an error message that one of the arrays inside the weekly array has a duplicate value.

What is the proper checking of each sub-arrays of [weekly] that the first array has a duplicate value? I'm doing this using PHP. 

Your answers will be highly appreciated. Thanks