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             $locale = Site::current()->handle();

        }



        return array_values(array_diff($this->getLocales(), [$locale]));

    }
<?php     public function toArray()

    {

        return array_values(parent::toArray());

    }
<?php             }

        }



        return array_values($array);

    }



    public function preProcessForIndex()
<?php         return (new \Statamic\Fields\Blueprint)->setContents([

            'sections' => [

                'main' => [

                    'fields' => array_values($fields->all()),

                ],

            ],

        ]);
<?php             foreach ($definitions as $definition) {

                $condition = array_keys($definition)[0];

                $value = array_values($definition)[0];

                $this->queryCondition($query, $field, $condition, $value);

            }

        }
<?php             foreach ($definitions as $definition) {

                $condition = array_keys($definition)[0];

                $value = array_values($definition)[0];

                $this->queryCondition($query, $field, $condition, $value);

            }

        }
<?php             foreach ($definitions as $definition) {

                $condition = array_keys($definition)[0];

                $value = array_values($definition)[0];

                $this->queryCondition($query, $field, $condition, $value);

            }

        }
<?php             '#</tr>#' => '%E%',

        ];



        $phpInfoStr = preg_replace(array_keys($replacePairs), array_values($replacePairs), $phpInfoStr);



        $sections = explode('<h2>', strip_tags($phpInfoStr, '<h2><th><td>'));

        unset($sections[0]);
<?php     public function values()

    {

        return array_values($this->items);

    }



    public function keys()
<?php             }

        }



        return [$match, array_values($branches)];

    }



    public function entry($entry)