Home / Technologies / Java vs PHP
Java vs PHP: who uses which
PHP is on more sites: 56,560 against 17,491 for Java, about 3.2 times as many. Here's how they compare across the websites we've indexed, and where each one does best.
Where each one is used
| Domain | Java | PHP |
|---|---|---|
| .com on .com | 4,940 | 19,540 |
| .ru on .ru | 96 | 7,153 |
| .br in Brazil | 1,549 | 957 |
| .org on .org | 554 | 1,930 |
| .de in Germany | 1,252 | 1,030 |
| .ua on .ua | 9 | 1,911 |
| .net on .net | 563 | 1,071 |
| .tw on .tw | 107 | 1,383 |
5 sites run both at once.
Questions
Which is more popular, Java or PHP?
PHP is on more sites: 56,560 against 17,491 for Java, about 3.2 times as many, across the sites StackGrep has indexed.
Do sites use Java and PHP together?
5 sites load both. That's often a switch in progress, or two teams picking different tools.
Want the whole list?
Join the waitlist to download every site using Java or PHP as a spreadsheet and hear when new ones appear.