php convert associative array to simple array code example Example: php transform associative array to array $array = array_values($array);