php - Is it possible to count the number of keys in an array? -


i've googled found no answers, guess it's not possible. if there way, i'd love know it. thanks

the number of keys in array number of elements in array, keys must unique. so:

$numkeys = count($array); 

Comments

Popular posts from this blog

Delphi Wmi Query on a Remote Machine -