Results 1 to 2 of 2
Thread: sizeof() vs count()
Jun 16, 2007, 14:27 #1
sizeof() vs count()
I see in the manual that sizeof() is an alias of count().
Is using one better than the other? Is there some sort of PHP convention when it comes to aliases?
Jun 16, 2007, 15:03 #2
Using one is not better then the other, sizeof uses count so just use count.Logic without the fatal effects.
All code snippets are licensed under WTFPL.