2010-11-23 76 views

回答

3

不符合此语法,因为在评估$a['first']时,$a未定义。这将工作虽然:

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