2016-07-07 2 views

답변

3

[]

[] PHP 5.4에서 소개 array()에 대한 대안 구문은 단지 빈 배열입니다.


$table_report = array(
    'table_name' => $table, 
    'rows'  => 0, 
    'change'  => 0, 
    'changes' => array() 
); 

$table_report = [ 
    'table_name' => $table, 
    'rows'  => 0, 
    'change'  => 0, 
    'changes' => [] 
]; 
동등
관련 문제