Perl vs PHP
- 2,268
- 535,817
Loading comparison
Loading comparison
PHP is the more common of the two in our index: it runs on 535,817 websites against 2,268 for Perl, and 897 sites use both. Counts come from real scans of each site's home page, not vendor claims, and cover the sites in TechLookup.app's index rather than the whole web.
Perl is a family of two high-level, general-purpose, interpreted, dynamic programming languages.
PHP is a general-purpose scripting language used for web development.
Among sites in the Tranco top 10,000, Perl appears on 18 and PHP on 2,290; across the top million it is 1,649 against 327,815. Within the programming languages sites we have indexed, Perl holds 0.3% and PHP 83%.
Perl: 2,268 sites, on 0.3% of Programming languages sites
Indexed sites in the countries where the two are most used. A site's country is read from its domain ending, or from its own server for .com and other generic endings. Sites behind a shared CDN or cloud on a generic ending have no country and are not counted here.
| Country | Perl | PHP |
|---|---|---|
| United States | 246 | 36,377 |
| Germany | 371 | 32,664 |
| Russia | 310 | 24,794 |
| France | 28 | 17,243 |
| Netherlands | 301 | 12,566 |
| United Kingdom | 28 | 12,025 |
897 sites run both Perl and PHP. That is 40% of the sites using Perl, the smaller of the two.
Want to know which one a particular site uses? Look it up and see its whole stack, or compare two sites side by side.
| Japan | 29 | 11,001 |
|---|
| Poland | 8 | 8,139 |
|---|
Export all 2,268 Perl sites as CSV on the Starter plan, $19 a month. Export on Starter → or download a free 5-row sample CSV.
Export up to 500,000 PHP sites a month as CSV on the Business plan, $99 a month. Export on Business → or download a free 5-row sample CSV.