background image

PHP

数组初始化

$stu[] = “name”
$stu[] = “sex”
注意:数组下表不需要按顺序分配
例题:排序数组元素(任意 10 个数排
序)