19.09.2013, 03:59
Hi, I'm new at this.
How can I check the time that function takes to get a string lenght?
Don't tell me that strlen already does it.
How can I check the time that function takes to get a string lenght?
PHP код:
stock GetLength(string[])
{
new count;
for(new i; string[i]; i++)
{
count++;
}
return count;
}

