php data type array
We will not study array types here, because there will be a chapter to explain them in the future.
Key points of this chapter:
Know that the array is a composite type
The English name of the array is array, when var_dump a variable The type you see is array, and this variable is the array type.
The simplest and most basic array declaration [default]
Next we declare an array to understand that it can be inserted into the array Just multiple values.
<?php //定义$shu这个变量 //数组声明是向array里面插入一个或者多个值 //一个或者多个值用逗号分开 $shu = array(1,2,3); ?>
array Pronunciation: [ə'reɪ]
Explanation: array, queue