Home  >  Article  >  Backend Development  >  Can php be used to write games?

Can php be used to write games?

silencement
silencementOriginal
2019-09-28 13:49:484090browse

Can php be used to write games?

PHP is "hypertext preprocessor" and is a general open source scripting language. PHP is a scripting language executed on the server side. It is similar to C language and is a commonly used website programming language.

PHP's unique syntax mixes C, Java, Perl and PHP's own syntax. It is conducive to learning and widely used. It is mainly suitable for the field of web development. Many friends may have questions like this when they first learn PHP. Can PHP develop games? Let's analyze this problem below.

PHP can make some web games. Compared with those online games, PHP is not very suitable, at least not very suitable now. Of course, it depends on how you use PHP. Let’s see the development later. Java for large-scale

online games is not very good. Generally speaking, it is c or c, which is robust and fast.

PHP was originally the abbreviation of Personal Home Page and has been officially renamed "PHP: Hypertext Preprocessor". Since the domestic Internet began to develop in the 1990s, Internet information has covered almost all areas of knowledge in our daily activities, and has gradually become an indispensable part of our lives, studies, and work. According to statistics, since 2003, the size of my country's web pages has basically maintained a doubling growth rate and is on an upward trend. As the most popular website program development language today, PHP language has the advantages of low cost, fast speed, good portability, and rich built-in function libraries. Therefore, it is used by more and more companies. Website under development. However, with the continuous upgrading of the Internet, many problems have arisen in the PHP language.

It’s not that PHP can’t develop games, but it’s not suitable for this. Each language has its own advantages and disadvantages. For example, in the field of web development, PHP is the first choice; for game development,

Be sure to choose c or c; for data analysis or crawlers, python must be the first choice; friends must understand this issue, which language they have learned, and which direction they will work in the future

, understanding it in advance will be of great help in the future.

The above is the detailed content of Can php be used to write games?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn