📜  数组键值php代码示例

📅  最后修改于: 2022-03-11 14:54:30.988000             🧑  作者: Mango

代码示例6
function myfunc(){
    $arr = array();
    $arr[] = 'value0';
    $arr['key1'] = 'value1';
    $arr['key2'] = 'value2';
    $arr[] = 'value3';
    return $arr;
}