How to effectively remember PHP built-in functions?

Source: Internet
Author: User
PHP has thousands of built-in functions. How can we effectively remember and use them skillfully? (This is what I care about) because in the programming process, it is not elegant to check the manual and interrupt the thinking. I remember an article saying that the difference between an excellent program and a common program is that ordinary programmers have been dealing with low-level programs... PHP has thousands of built-in functions. How can we effectively remember and use them skillfully? (This is my concern)

In the programming process, it is not elegant to check the manual and interrupt the thinking.

I remember an article saying that the difference between a good program and a common program is:
Ordinary programmers have been dealing with low-level problems, such as how to call certain functions.

Excellent programmers generally rely on repeated training, so they do not need to spend their energy dealing with such problems and focus on solving specific issues.

In addition, it is better than the doctor who checks the manual while opening the knife. I am more willing to believe that doctors who talk to nurses and laugh at each other.

Therefore, I think it is necessary for me to remember these functions.

Explanations:
1. I am talking about the use of memory instead of memorizing it.
2. Spending time on memory does not mean that I do not spend time on data structures, algorithms, and other aspects.

Reply content:

PHP has thousands of built-in functions. How can we effectively remember and use them skillfully? (This is my concern)

In the programming process, it is not elegant to check the manual and interrupt the thinking.

I remember an article saying that the difference between a good program and a common program is:
Ordinary programmers have been dealing with low-level problems, such as how to call certain functions.

Excellent programmers generally rely on repeated training, so they do not need to spend their energy dealing with such problems and focus on solving specific issues.

In addition, it is better than the doctor who checks the manual while opening the knife. I am more willing to believe that doctors who talk to nurses and laugh at each other.

Therefore, I think it is necessary for me to remember these functions.

Explanations:
1. I am talking about the use of memory instead of memorizing it.
2. Spending time on memory does not mean that I do not spend time on data structures, algorithms, and other aspects.

There are about 20 common arrays, including type judgment/conversion, string, and date ~ About 10 functions are enough. About 50 functions are sufficient to cover 100 of requirements, and functions are estimated to cover.

More importantly, you need to make an impression after checking the manual.strlenIt doesn't matter how to use it. Just remember it after checking it,dateYou do not need to remember the format of, commonYmdHisRemember. Excellent programmers are notDo not check Manual,Manual review on the same page

A good ide, such as PHPstorm, does not require you to remember the exact name of a function. I remember a lot of functions are just a rough idea. It may be difficult for me to spell them out, but you asked me to make a match on a string. I can think of preg very quickly .., then, enter the IDE to automatically list some functions. At this time, I can determine which function is used.
I don't think it is necessary to remember the parameters of every function. Just remember what it can do, because IDE can help you do these things.

  1. No

  2. I know that a bunch of data records won't be used.

  3. Manual manual check is not low, only know the manual check is low

Correlation does not affect cause and effect. Common programmers are not responsible for low-income issues. Normal programmers only have the ability to handle low-cost issues.

In order to judge the power, we cannot learn it. We can only explain it. Learning can only be universal, but cannot be special. It cannot be used to establish special and universal learning abilities.

So I think it is only the tip of the iceberg that you don't need to remember these numbers.

Otherwise, why don't we let the operator go to the production process?

In fact, the primary has answered his own questions, remembering that it is not a dead record but a mature operation.

How can I effectively familiarize myself with using PHP built-in functions?

Common Problems

Unnecessary

Under this definition of "Memory", this question is not a problem at all.

In fact, the same is true for other programming languages. For example, if there are more than two thousand APIs used for C Programming windows programs, won't you always remember these functions? Even if I forget to learn php, do I forget windows API functions and learn php functions? Do I remember winsows API and php functions? I think this cannot be done by excellent programmers. my current idea is: You can compile the current program and implement the functions. Remember it without having to encounter a function. If you use more functions, you will naturally become familiar with it.
BTW: half a month ago, I also wanted to use all windows API functions. Later I found that I overestimated my IQ.

I have done a lot of projects, and I remember that I am also skilled. Then, ask Daniel at an unknown google address.

In fact, there is no need to remember all the built-in functions that are often used. Many built-in functions cannot be used in actual development?

Repeat the manual and try again.

1. classify and remember common functions. Take a look at the rest of the time.

2. Apply and think about common functions in different scenarios.

3. Read the manual, read the manual, apply it, think about it, and summarize it.

More practices. At the beginning, I touched CSS, that bitter, PHP, that bitter, JavaScript, that bitter.
For some purposes, I went to modify PHP. Since then, I started my PHP journey and Baidu was the only one that would not be modified.
Now you can write something.
I was afraid of CSS at the beginning, and now I can write something.
If you practice more, you will have real knowledge.
PS: My mind is also very stupid. Now I am reading tutorials online according to the regular procedures (such as W3School). I will take a notebook and it will be much faster to query in the future, I was also impressed.
I forgot the regular expression after reading the tutorial on the Internet. I took a notebook to take notes, which is much better.
I hope you will not be a person like me ......
I am a junior high school student. Please advise me more! =-=

If you do more projects, remember to use more projects. It is not advisable to use it in practice. Otherwise, it will not be used.

I also want to remember it all. Later I found that I could not do it in many languages. At this time, you need a document browser such as Dash or Zeal to work with the Quick Start tool, which should be more suitable.

There are just a few common functions. I think it is enough to remember which built-in functions are needed and check them when necessary.

Frequently-used functions, such as var_dump and json_encode.

There are also some names that can be remembered to enable the IDE to automatically complete.

When I first learned programming, I saw articles about 10 differences between experts and cainiao on the Internet every day. For example, experts can also program with notepad, or masters can program with notepad. Now I find that it is really nonsense.

The ultimate goal of technology is to make products. As long as you achieve this goal, you can do whatever you want. It doesn't matter if you are a master or a cainiao. You are your master, I am my product, and my product has made money. You said that I am a newbie and I have no time to refute you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.