But how much faster? If its 2 seconds faster then thats amazing but if its 0.2 seconds faster then no one will notice the difference. When picking a language youve got to look at not only the speed but the learn-ability, whether it runs on all servers etc. Like we all said, PHP is fast (maybe not the fastest) but its easy to learn, easily available on operating systems and easy to edit. From what I understand Java needs to be compiled and then uploaded from your working device (PC) and cant be edited on the go through FTP. However, you can edit PHP anywhere because it doesnt need to be compiled as its just essentially a text file. I dont know much about Java but PHP is a powerful language that I would always use, and I do over at https://Bailey.cf and https://harryh.cf I personally find that its a simple language that can be used in simple applications but also manipulated to become an extremely powerful backend language. To sum up what that all means: I would recommend PHP even though it may be (a little bit) slower.