小丁的屋舍
PHP学习笔记(一)
2020-02-13
查看标签
1109次浏览

数组的查询、修改、删除、增加

$array[
"a" = 1,
"b" = 2,
"c" = 3,
];
$array["d"] = 4;  //增
$array["a"] = 5;  //改
unset($array["a"]);  //删
echo $array["a"];