The PHP ecosystem is massive to say the least. There are dozens of free and open source CMS, CRM, shopping cart, blog, and other platforms and libraries out there. WordPress, Drupal, and Magento are probably among the most popular ones when it comes to blogs, content management, and shopping cart solutions. They are all available for download from their respective websites:
- WordPress: https://wordpress.org
- Drupal: https://www.drupal.org
- Magento: https://magento.com/
Considering these popular platforms, the following table puts some perspective around the magic method use:
Magic method | WordPress 4.7 (702 .php files) | Drupal 8.2.4 (8199 .php files) | Magento CE 2.1.3 (29649 .php files) |
| 343 | 2547 | 12218 |
| 19 | 19 | 77 |
| 10 | 35 | 152 |
| 1 | 2 | 4 |
| 23 | 31 | 125 |
| 15 | 24 | 86 |
| 21 | 15 | 57 |
| 11 | 13 | 34 |
| 0 | 46 | 103 |
| 0 | 10 | 94 |
| 15 | 181 | 460 |
| 0 | 27 | 112 |
| 0 | 3 | 5 |
| 0 | 32 | 68 |
| 0 | 0 | 2 |
The table is a result of a crude function...