What are the differences between PHP arrays and arrays in other programming languages?
PHP arrays are unique in that they can hold multiple data types within the same array, unlike arrays in some other programming languages which require all elements to be of the same data type. Additionally, PHP arrays are dynamic in size, meaning they can grow or shrink as needed without explicitly specifying a fixed size. PHP arrays also have built-in functions for easy manipulation, such as adding or removing elements.
// Example of creating a PHP array with mixed data types
$myArray = array("John", 25, true, 3.14);