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?
| SitePoint Sponsor |
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?
Using one is not better then the other, sizeof uses count so just use count.
Bookmarks