crate array from value in php code example
Example: php return associative array
function myfunc(){
$arr = array();
$arr[] = 'value0';
$arr['key1'] = 'value1';
$arr['key2'] = 'value2';
$arr[] = 'value3';
return $arr;
}
function myfunc(){
$arr = array();
$arr[] = 'value0';
$arr['key1'] = 'value1';
$arr['key2'] = 'value2';
$arr[] = 'value3';
return $arr;
}