Answers for "get all key from array php"

PHP
0

get all key from array php

<?php
$array1=array("Orange" => 100, "Apple" => 200, "Banana" => 300, "Cherry" => 400);
print_r(array_keys($array1));
?>
Posted by: Guest on May-10-2021

Code answers related to "get all key from array php"

Browse Popular Code Answers by Language