array_values

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return all the values of an array
<?php array_values(array $array): array
<?php             return false;

        }



        return array_values($row);

    }
<?php             return false;

        }



        return array_values($row);

    }
<?php         }



        if (isset($options['primary']) && ! empty($options['primary'])) {

            $columnListSql .= ', PRIMARY KEY(' . implode(', ', array_unique(array_values($options['primary']))) . ')';

        }



        if (isset($options['indexes']) && ! empty($options['indexes'])) {
<?php         if (isset($options['primary']) && ! empty($options['primary'])) {

            $keyColumns   = array_unique(array_values($options['primary']));

            $queryFields .= ', PRIMARY KEY(' . implode(', ', $keyColumns) . ')';

        }
<?php         }



        if (isset($diff->addedIndexes['primary'])) {

            $keyColumns   = array_unique(array_values($diff->addedIndexes['primary']->getColumns()));

            $queryParts[] = 'ADD PRIMARY KEY (' . implode(', ', $keyColumns) . ')';

            unset($diff->addedIndexes['primary']);

        } elseif (isset($diff->changedIndexes['primary'])) {
<?php             foreach ($diff->changedIndexes['primary']->getColumns() as $columnName) {

                if (isset($diff->addedColumns[$columnName]) && $diff->addedColumns[$columnName]->getAutoincrement()) {

                    $keyColumns   = array_unique(array_values($diff->changedIndexes['primary']->getColumns()));

                    $queryParts[] = 'DROP PRIMARY KEY';

                    $queryParts[] = 'ADD PRIMARY KEY (' . implode(', ', $keyColumns) . ')';

                    unset($diff->changedIndexes['primary']);
<?php         $queryFields = $this->getColumnDeclarationListSQL($columns);



        if (isset($options['primary']) && ! empty($options['primary'])) {

            $keyColumns   = array_unique(array_values($options['primary']));

            $queryFields .= ', PRIMARY KEY(' . implode(', ', $keyColumns) . ')';

        }
<?php             return '';

        }



        $keyColumns = array_unique(array_values($options['primary']));



        foreach ($keyColumns as $keyColumn) {

            if (! empty($columns[$keyColumn]['autoincrement'])) {
<?php             throw SchemaException::columnDoesNotExist($columnName, $tableName);

        }



        $values = array_values($columns);



        $keys[$index]   = strtolower($column->getName());

        $values[$index] = $column;
<?php             }



            $columnListSql .= ', PRIMARY KEY' . $flags

                . ' (' . implode(', ', array_unique(array_values($options['primary']))) . ')';

        }



        $query = 'CREATE TABLE ' . $name . ' (' . $columnListSql;
<?php         $args   = func_get_args();

        $method = $args[0];

        unset($args[0]);

        $args = array_values($args);



        $callback = [$this, $method];

        assert(is_callable($callback));
<?php             return $assetNames;

        }



        return array_values(array_filter($assetNames, $filter));

    }
<?php         $result = [];

        foreach ($list as $constraint) {

            $result[] = new ForeignKeyConstraint(

                array_values($constraint['local']),

                $constraint['foreignTable'],

                array_values($constraint['foreign']),

                $constraint['name'],
<?php             $result[] = new ForeignKeyConstraint(

                array_values($constraint['local']),

                $constraint['foreignTable'],

                array_values($constraint['foreign']),

                $constraint['name'],

                [

                    'onDelete' => $constraint['onDelete'],
<?php         $result = [];

        foreach ($list as $constraint) {

            $result[] = new ForeignKeyConstraint(

                array_values($constraint['local']),

                $this->getQuotedIdentifierName($constraint['foreignTable']),

                array_values($constraint['foreign']),

                $this->getQuotedIdentifierName($constraint['name']),