Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Merge one or more arrays
<?php array_merge(array ...$arrays): array
<?php         if ($this->client instanceof SimpleS3Client) {


            $this->client->upload($this->bucket, $key, $body, array_merge($options, ['ACL' => $acl]));

        } else {

            $this->client->putObject(array_merge($options, [

                'Bucket' => $this->bucket,
<?php             $this->client->upload($this->bucket, $key, $body, array_merge($options, ['ACL' => $acl]));

        } else {

            $this->client->putObject(array_merge($options, [

                'Bucket' => $this->bucket,

                'Key' => $key,

                'Body' => $body,

                'ACL' => $acl,

            ]));

        }

    }
<?php     public function extend(array $options): Config

    {

        return new Config(array_merge($this->options, $options));

    }



    public function withDefaults(array $defaults): Config