📜  php 返回关联数组 - PHP 代码示例

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

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