Jump to content

Count number of keys in array


Recommended Posts

Hi,

I searched the forum for the code how to count the number of keys in an array. In PHP you got count($array).

I don't want to use a For/While-loop with a $i += 1 or is that the only possibility? I don't want to use the $i += 1, because it takes to long for about 5 arrays to count.

So any ideas?

Programs so far:Teh Serializer - Search for licenses for Nero - Windows - Office - Alcohol etc.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...