Home >Java >javaTutorial >Who is more secure, java or php?
In the field of programming, the programming language Java is known to everyone and has a wide range of applications. I think the field that is more suitable for java and php is reflected in the website. Both have their own advantages and disadvantages.
# So who is more secure, java or php?
In the face of Java, which is also open source and cross-platform, PHP has lost many advantages, especially in terms of code security. The PHP development program can be easily modified after others get the code. Programs developed in Java are more secure because they cannot see the complete source code and can only see some compiled class files.
Coupled with the advantages of system architecture, PHP and Java are far apart in terms of security. If we have to compare the security of PHP and Java, if the same thief patronizes PHP, he will just use it and change it, take whatever he wants, and he will be so happy that he can just wave a pen and visit here. .
When you visit java, you will find that it is guarded by the police and equipped with an automatic alarm device, even if you break through many obstacles to enter the room. However, he found that all his valuables were placed in an encrypted safe, and he could only return with a sigh of relief.
Obviously, Java is superior in terms of security, but in actual work, it depends on the specific needs. High security does not necessarily mean you need to use it.
The above is the detailed content of Who is more secure, java or php?. For more information, please follow other related articles on the PHP Chinese website!