Switch or If statement quicker in PHP, and why -


A switch or if the statement is quick to execute, where there are at least 10-20 terms

< P> Thank you Dave

It was benchmarked and came to the conclusion that "if / was slightly better. " Includes codes and standards.

concluded that they are almost equal.


Comments

Popular posts from this blog

php - multilevel menu with multilevel array -

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

objective c - iPhone and it's wireless area -