People who attend PHP training often ask: Is PHP easy to learn? How long does it take to learn PHP from the beginning? I am not a computer student, and I have no experience with PHP. Can I learn PHP? Is PHP difficult to learn? How long does it take to learn PHP from beginner to master?

PHP, a nested abbreviated name is the abbreviation of (PHP: HypertextPreprocessor). PHP (foreign names: PHP: HypertextPreprocessor, Chinese name: “hypertext preprocessor”) is a common open source scripting language. The syntax absorbs the characteristics of C language, Java and Perl, which is easy to learn and widely used. It is mainly applicable to the field of Web development and is now widely used by many website programmers (the above is a professional explanation). Xiao Zhuo also wants to point out that many large websites are actually written in PHP, such as Baidu, Alibaba and Tencent (BAT for short).

Good case :(1) some people have talent, high IQ and big brains. It’s fast, and it’s related to the Z-shaped sulcus in the brain. But most people’s brains are about the same size. (2) There is no rule out that some people have a mad dog like the spirit of learning. This kind of person also has a very short time from beginning to improving. (3) Do not exclude some people are very popular, such as MM programmers.

1, Entry (stage 1) Criteria: master basic grammar. Able to write Hello World on notepad. Can download wAMP and other automatic packages from the Internet to install PHP + Apache environment. And your HelloWorld will run.

Getting started (Stage 2) Criteria: Learn simple HTML and write ugly stylesheets. At least you can make a random float with p. Work with PHP to loop the dead array into the page.

3, preliminary criteria: know how to connect to mysql in PHP. Can use the client tool to connect to mysql, can deploy phpAdmin is better. And can write two simple SQL statements. CSS and HTML have improved. Be able to read data and loop some data onto the page. One of the most important reasons to get out of the early stages is to stop believing that “PHP+IIS is fine” and start liking Linux.

At this stage, you can manually configure the PHP + Apache environment. Became interested in Linux. At least know how to install PHP + Apache with yum and do simple configuration.

5, intermediate stage: to reach the intermediate stage, you must have done at least 2-3 real or realistic simulation projects (PHP practical tutorial). In the project, I have accumulated certain error tuning experience, performance tuning performance and Sql optimization performance. Improved Linux skills, and can optimize the Apache configuration of the site. Have some knowledge of nginx and can operate it. At this point, I’ve learned an important lesson: to learn PHP well, it’s not just about knowing PHP. At the same time also need to master certain HTML knowledge, JS knowledge, Linux knowledge and database knowledge.

Sixth, advanced stage: (1): to reach the middle and advanced stage, must have done some large and medium-sized projects. Accumulated a high level of visual BUG detection skills in the project. Interested in open source code, good use and can read open source code. (2) Doing large and medium-sized projects is no longer limited to PHP. Instead, Java and other languages did the background, Python did the data analysis, PHP to do the front end. Master at least 2 database, at this time to learn a new technology has reached a comprehensive degree, minutes can master a new pronunciation grammar. (3) PHP is no more than a tool. So are other languages.