PHP square brackets syntax -
given code snippet:
$nodes[$record->nid]->group = $record->group; i not understand first part (to left of equals sign) means?
thanks.
$nodes array, , $record->nid index in array. code valid, $record->nid must either string or integer.
calling $nodes[$record->nid] return object, calling group on.
Comments
Post a Comment