Home >Backend Development >PHP Problem >Can php be used to develop games?

Can php be used to develop games?

青灯夜游
青灯夜游Original
2019-10-14 15:12:166129browse

Many friends may have questions like this when they first learn PHP. Can PHP develop games? Let's analyze this problem below.

Can php be used to develop 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 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.

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, you must choose c Or c;

Data analysis or crawlers, python is definitely the first choice; friends must understand this issue, which language they have learned, and which direction they will work in the future. Understand it in advance, so that it will be better in the future. Very helpful.

For more PHP related knowledge, please visit PHP Chinese website!

The above is the detailed content of Can php be used to develop 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
Previous article:Can php use hadoop?Next article:Can php use hadoop?