'In PHP, what is the difference between Array and array, in type declaration?

In this OOP tutorial, I noticed the following code:

public function validate(Array $data, Array $rules){}

My question is if that is the same as:

public function validate(array $data, array $rules){}

In the PHP.net documentation, I could find a reference only to the second form.



Solution 1:[1]

Short: PHP functions, user-defined functions and variable names as case-insensitive except for class constants.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 David Syengo