array_merge

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Merge one or more arrays
<?php array_merge(array ...$arrays): array
<?php         $driverOptions = $params['driverOptions'] ?? [];



        if (isset($driverOptions['userDefinedFunctions'])) {

            $this->_userDefinedFunctions = array_merge(

                $this->_userDefinedFunctions,

                $driverOptions['userDefinedFunctions']

            );

            unset($driverOptions['userDefinedFunctions']);

        }
<?php         parse_str($url['query'], $query); // simply ingest query as extra params, e.g. charset or sslmode



        return array_merge($params, $query); // parse_str wipes existing array elements

    }
<?php     public function __construct(array $oracleSessionVars = [])

    {

        $this->_defaultSessionVars = array_merge($this->_defaultSessionVars, $oracleSessionVars);

    }
<?php             );

        }



        $this->sql = array_merge($this->sql, is_array($sql) ? $sql : func_get_args());



        return $this;

    }
<?php     public function addSql($sql)

    {

        $this->sql = array_merge($this->sql, is_array($sql) ? $sql : func_get_args());



        return $this;

    }
<?php     public function addSql($sql)

    {

        $this->sql = array_merge($this->sql, is_array($sql) ? $sql : func_get_args());



        return $this;

    }
<?php     public function addSql($sql)

    {

        $this->sql = array_merge($this->sql, is_array($sql) ? $sql : func_get_args());



        return $this;

    }
<?php     public function addSql($sql)

    {

        $this->sql = array_merge($this->sql, is_array($sql) ? $sql : func_get_args());



        return $this;

    }
<?php     public function addSql($sql)

    {

        $this->sql = array_merge($this->sql, is_array($sql) ? $sql : func_get_args());



        return $this;

    }
<?php     public function addSql($sql)

    {

        $this->sql = array_merge($this->sql, is_array($sql) ? $sql : func_get_args());



        return $this;

    }
<?php                 $this->_eventManager->dispatchEvent(Events::onSchemaCreateTableColumn, $eventArgs);



                $columnSql = array_merge($columnSql, $eventArgs->getSql());



                if ($eventArgs->isDefaultPrevented()) {

                    continue;
<?php             $name = $column->getQuotedName($this);



            $columnData = array_merge($column->toArray(), [

                'name' => $name,

                'version' => $column->hasPlatformOption('version') ? $column->getPlatformOption('version') : false,

                'comment' => $this->getColumnComment($column),

            ]);



            if ($columnData['type'] instanceof Types\StringType && $columnData['length'] === null) {

                $columnData['length'] = 255;
<?php             $this->_eventManager->dispatchEvent(Events::onSchemaCreateTable, $eventArgs);



            if ($eventArgs->isDefaultPrevented()) {

                return array_merge($eventArgs->getSql(), $columnSql);

            }

        }
<?php             }

        }



        return array_merge($sql, $columnSql);

    }



    protected function getCommentOnTableSQL(string $tableName, ?string $comment): string
<?php         $eventArgs = new SchemaAlterTableAddColumnEventArgs($column, $diff, $this);

        $this->_eventManager->dispatchEvent(Events::onSchemaAlterTableAddColumn, $eventArgs);



        $columnSql = array_merge($columnSql, $eventArgs->getSql());



        return $eventArgs->isDefaultPrevented();

    }