Is php difficult? How long does it take to learn?
I think whether PHP is difficult to learn and how long it takes to learn PHP are common issues, so let’s first summarize the several situations.
Good situation:
1. It is not ruled out that some people are talented and have high IQ and big brains. It’s quick to get started, and this is related to the Z-shaped groove in the brain. However, most people's brains are of similar size.
2. It is not ruled out that some people have a crazy learning spirit like a mad dog. The cycle from getting started to being promoted is also very short for this type of person.
3. It is not ruled out that some people are very popular, such as MM programmers. Whenever there is a problem, there will be an older brother, sister, and younger brothers and sisters to help, guide, and even debug the program on your behalf. If they work harder, these people will make rapid progress. In the world of programming, if there is a master to help you guide you, and you are easy to learn, it will be as fast as flying
I won’t talk about the bad situation. It cannot be ruled out that there are people who have no talent, are as shabby as me, so they don’t have a god to guide them, and they are naturally afraid of pain and cannot achieve the hard work of a mad dog.
From my personal learning situation, it is a "bad situation". I hope you won’t be like me.
For PHP, I will give you a template of how long it takes to learn PHP by yourself from entry to proficiency. For other languages, you can learn them yourself
1. Getting started (first stage)
Standard: Master basic grammar. Ability to write hello world on notepad. You can download fully automatic packages such as wamp from the Internet to install the php apache environment. At the same time, your helloworld can run this stage, which takes about a week to a month. Look at passion, there is no fixed one.
Mental state: confused. It is common to often pull my hair with my hands and stay up late
Emotional life: having a girlfriend
2. Entry (second stage)
Standards: Learn simple html and write a Ugly style sheets. At least you can use p to create a random floating effect. Cooperate with PHP to display the hard-coded array loop on the page
Mental state: The programmer has the beginning of a bad temper, has a bad temper, and likes to argue with others about whether PHP has a future or XX language has a future (new to Web development, PHP , python or ruby, which one should I learn?), I feel that I am not far from Gates.
Emotional life: May have a girlfriend
3. Primary stage
Standard: Learned how to connect PHP to mysql. Can use client tools to connect to mysql, and can deploy by itself phpadmin is better. And can write two extremely simple sql statements. CSS and HTML have improved. Being able to read data and loop some data to the page.
There is a very important factor in leaving the primary stage: I no longer firmly believe that "PHP and IIS are very good", and I start to have an inexplicable liking for Linux
Mental status: Working in a small company. I am not popular, I don't like to talk, and I am hesitant about whether to change the language and learn it all over again. I like to read inspirational articles and skip breakfast
Emotional life: No girlfriend.
4. Junior and intermediate stage
At this time, you can manually configure the php apache environment. Became interested in linux. At least I know that yum can install php apache with one click and can do simple configuration.
Start working on projects with the project manager. Often scolded. Cleaning up bugs takes up a lot of energy
Mental state: often close to the edge of collapse. He is unkempt and often leaves his hair uncut for a month.
Emotional life: No girlfriend, although I yearn for it, lots of acne
5. Intermediate stage
To reach the intermediate stage, you must have at least 2-3 real relationships. Or a real-life simulation project (php practical tutorial). In the project, I have accumulated a certain amount of error debugging experience, performance tuning performance, and Sql optimization performance.
Linux skills have been improved and the apache configuration of the website can be optimized. Have a certain understanding of nginx and be able to operate it
At this point, you have understood an important truth: if you want to learn PHP well, it is not enough to just know PHP. At the same time, you must also master certain html knowledge, js knowledge, linux knowledge and database knowledge. And you can't learn everything cowardly, otherwise knowing php will be in vain
Mental state: arrogant, feeling like he has become a great god. Ask your boss for a raise from time to time. Argue with the project manager. Think that all your ideas are right.
Emotional life: None, duang
6. Intermediate and advanced stage (1)
To reach the intermediate and advanced stage, you must have done some (how many? This is optional) Large and medium-sized projects. In the project, I have accumulated a high level of skills in identifying bugs with the naked eye. I started to be able to write the PHP front-end framework by myself, my JS level improved (here refers to the original JS), and my database level was not much worse than the company's DBA. If the company's operation and maintenance personnel were pregnant and could replace the operation and maintenance, they would not vomit for a day.
Interested in open source code. Good use and ability to read open source code. For example, some products such as memcached or NOSql.
Mental state: The mentality gradually becomes peaceful. I finally know that there is a way out there. I started to respect my leadership, even though I was reluctant to do so sometimes.
Emotional life: Married. The love cycle is very short, that’s about it.
7. Intermediate and Advanced Stage (2)
Doing large and medium-sized projects is no longer limited to PHP. Instead, languages such as Java are used for the backend, Python is used for data analysis (or mining), and PHP is used for the front end. Master at least 2 databases
At this time, learning a new technology has reached the level of knowing everything, and you can master the grammar of a new pronunciation in minutes.
Mental state: The diaosi temperament has disappeared. Extremely humble. Although sometimes his true nature is exposed when he is depressed, he quickly returns to normal
Emotional life: I have children
8, advanced stage
PHP is already It's just a tool. The same goes for other languages.
Bad on mathematics and c/c. Modifying the PHP core is normal.
At the same time, I believe that to reach the advanced stage of PHP, it has nothing to do with PHP itself.
Mental state: Completely restored to normal. Already bought a house. Ability to control one's emotions autonomously.
Emotional life: He is also a master. Do you understand
9 and more advanced stages
? Please add more. Feel free to play. We are the masters of PHP or technology.
For more PHP related knowledge, please visit PHP Chinese website!
The above is the detailed content of Is php difficult?. For more information, please follow other related articles on the PHP Chinese website!

The article compares ACID and BASE database models, detailing their characteristics and appropriate use cases. ACID prioritizes data integrity and consistency, suitable for financial and e-commerce applications, while BASE focuses on availability and

The article discusses securing PHP file uploads to prevent vulnerabilities like code injection. It focuses on file type validation, secure storage, and error handling to enhance application security.

Article discusses best practices for PHP input validation to enhance security, focusing on techniques like using built-in functions, whitelist approach, and server-side validation.

The article discusses strategies for implementing API rate limiting in PHP, including algorithms like Token Bucket and Leaky Bucket, and using libraries like symfony/rate-limiter. It also covers monitoring, dynamically adjusting rate limits, and hand

The article discusses the benefits of using password_hash and password_verify in PHP for securing passwords. The main argument is that these functions enhance password protection through automatic salt generation, strong hashing algorithms, and secur

The article discusses OWASP Top 10 vulnerabilities in PHP and mitigation strategies. Key issues include injection, broken authentication, and XSS, with recommended tools for monitoring and securing PHP applications.

The article discusses strategies to prevent XSS attacks in PHP, focusing on input sanitization, output encoding, and using security-enhancing libraries and frameworks.

The article discusses the use of interfaces and abstract classes in PHP, focusing on when to use each. Interfaces define a contract without implementation, suitable for unrelated classes and multiple inheritance. Abstract classes provide common funct


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Chinese version
Chinese version, very easy to use

WebStorm Mac version
Useful JavaScript development tools