PHP Top 100
Thise is a list of top 100 of the most popular structures in PHP. All these structures are surveyed in a corpus of more than 3000 open source projects, and sorted by usage frequency.
- Top 100 PHP functions
- Top 100 PHP classes
- Top 100 PHP native constants
- Top 5 PHP attributes
- PHP extended classes
- Top 100 PHP interfaces (TBP)
- Top 100 PHP traits : N/A
- Top 100 PHP enumeration : N/A
How to use top 100
Top 100 list the most popular native PHP structures: they are the one any developer is most expected to meet them. Instead of learning them all, it is recommended to focus on these frequent ones first, and then, move to the more discreet ones.
Not yet a top 100
Some features have a plethora of native versions, such are functions, constants, classes. On the other hand, other structures are still rarely defined by PHP itself, such as enums, traits or attributes. They will grow with time: see how attributes have gained native versions since PHP 8.0?
Versions of top 100 across the years
These top 100 are updated on an irregular base, but they stand up to date in this page.
Missing top 100 feature?
Do you want to see another top 100 featured here? Drop us a note!