array values 28 29 in php

Solutions on MaxInterview for array values 28 29 in php by the best coders in the world

showing results for - "array values 28 29 in php"
Linus
29 Mar 2018
1PHP array_values() is an inbuilt function that returns all the values of an array and not the keys. The array_values() function returns the array containing all the values of an array. The returned array will have the numeric keys, starting at 0 and increase by 1
2
3<?php
4$a=array("Name"=>"ankur","Age"=>"25","Country"=>"India");
5print_r(array_values($a));
6?>
7  
8Output:
9Array ( [0] => ankur [1] => 25 [2] => India )
10  
11for more visit: 
12https://appdividend.com/2019/05/09/php-array-values-example-php-array_values-function-tutorial/#:~:text=PHP%20array_values()%20is%20an,0%20and%20increase%20by%201.
13https://www.w3schools.com/php/func_array_values.asp
14
15/*
16I hope it will help you.
17Thank you _/\_
18*/