2010-11-23 81 views

回答

3

不符合此語法,因爲在評估$a['first']時,$a未定義。這將工作雖然:

$a = array(); 
$a['first'] = 'some value'; 
$a['second'] = $a['first'];