Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Merge one or more arrays
<?php array_merge(array ...$arrays): array
<?php     exit(1);

}



$server->set(array_merge(

    $serverState['defaultServerOptions'],

    $config['swoole']['options'] ?? []

));



return $server;
<?php             }



            try {

                $this->forever('interval-'.$key, serialize(array_merge(

                    $interval, ['lastRefreshedAt' => Carbon::now()->getTimestamp()],

                )));



                $this->forever($key, $interval['resolver']());

            } catch (Throwable $e) {
<?php         }



        file_put_contents($this->path, json_encode(

            array_merge($this->read(), ['masterProcessId' => $masterProcessId]),

            JSON_PRETTY_PRINT

        ));

    }
<?php         }



        file_put_contents($this->path, json_encode(

            array_merge($this->read(), ['state' => $newState]),

            JSON_PRETTY_PRINT

        ));

    }
<?php             $results[strtoupper($key)] = $value;

        }



        $results = array_merge(

            $results,

            $this->formatHttpHeadersIntoServerVariables($headers)

        );



        if (isset($results['REQUEST_URI'], $results['QUERY_STRING']) &&

            strlen($results['QUERY_STRING']) > 0 &&
<?php         }



        file_put_contents($this->path, json_encode(

            array_merge($this->read(), [

                'masterProcessId' => $masterProcessId,

                'managerProcessId' => $managerProcessId,

            ]),

            JSON_PRETTY_PRINT

        ));

    }
<?php         }



        file_put_contents($this->path, json_encode(

            array_merge($this->read(), ['state' => $newState]),

            JSON_PRETTY_PRINT

        ));

    }
<?php         $this->app = $app = $this->appFactory->createApplication(

            array_merge(

                $initialInstances,

                [Client::class => $this->client],

            )

        );



        $this->dispatchEvent($app, new WorkerStarting($app));