addd element in accociative array php 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);