How to add new key value in an array php?

$arrayname[key]=value;

Sample:

$order_statuses[“wc-shipped”]=”shipped”;