I am new to PHP and I was going through the documentation when I came across the array() function. I understand that arrays are used to store multiple values in a single variable, but I am not quite sure how the array() function works.
Can someone please explain the PHP array() function to me with an example? I would greatly appreciate it.
Thanks in advance!