Return an array containing the keys:
<?php
$a=array("Volvo"=>"XC90","BMW"=>"X5","Toyota"=>"Highlander");
print_r(array_keys($a));
?>
by გიორგი ბაკაშვილი
4 years ago
PHP
Array
PHP official doc
1
Pro tip: use ```triple backticks around text``` to write in code fences