array_push in associative array code example
Example: php add to associative array
// for php 5.4+
$data += [$key => $value];
// for php 5.4-
$data += array($key => $value);
// for php 5.4+
$data += [$key => $value];
// for php 5.4-
$data += array($key => $value);