PHP Function learning Experience _php Tutorial

Source: Internet
Author: User
Tags mathematical functions
Recently I have a more detailed view of the PHP function part, did not look at the time, no feeling, but now I found that to really understand the full functionality of PHP, I am afraid is not a day of cold Ah! Although the function provided by PHP is not the richest, but the number is quite, the function is very powerful, and the scope is very broad, to really grasp the words, in addition to the knowledge of PHP itself, but also need a lot of relevant network knowledge. But if you really have the patience to conquer each function in one, I believe you will certainly benefit from the non-shallow.
Well, here is my study in the process of a little experience and learning to summarize, take it out and discuss with you, I do not know whether the study can help you!
At present, the latest online manual includes 76 categories of function libraries, with different numbers of specific functions in each category, in the PHP4. So many functions, when I come up, all look blindfolded, many functions do not understand AH! Slowly, for the convenience of learning, I have divided these functions into the following categories:
1, PHP commonly used functions: this kind of function should basically be you in the default after the installation of PHP, you can immediately use, including mathematical functions, String functions, and many other languages have similar functions, have some programming experience of people, it should not be difficult to learn.
2. Functions that interact with the database management system: People who have read the preface to the PHP manual should know that PHP supports a large number of database systems, and that the interaction between PHP and these database systems is done through a batch of functions. Although PHP supports a lot of databases, but the way to operate the database through PHP is basically the same, programming ideas are similar. So you can choose one of the learning according to their own situation, after learning one, the other library is basically mastered, of course, there may be some subtle differences, but I want to have the first kind of database experience, the other for you should be no problem.
3. Extended or non-trivial functions: These functions are divided into two categories: one that is supported when compiling PHP with relevant compilation options. The other is designed to support some other company's products, so if you want to use it, you need the support and knowledge of the relevant product.
Through the above classification, I think we should follow the above classification in the study of the order to do, first grasp all the basic operating functions, they may also be in your future study will use, this part should not be very difficult, and study will give you continue to learn the confidence Ah! Then to learn the database function library, the implementation of the Dynamic Web page depends on the application of the database system, if you do not use PHP to control the database, then I can only say that you have not learned PHP. So how can so many functions be done? Choose one of them, due to the absolute combination of MySQL and PHP, I think you still use it as a starting point, and you can study in the Windows environment, work learning two not wrong, why not? Finally learn the third kind of function, of course, you may not have to learn them, because these are generally in solving the more special problems, only need to use. If you want to learn, of course, no one will stop you, but in learning this part of the function, I am afraid you need a lot of other related knowledge, such as: Linux, XML and so on. Only in this case can you really understand what you are doing, how to debug your program, and analyze whether your program is performing correctly.

At the end of the day, it is very important to know that when learning a function, it is best to make a small program of your own and verify the function so that you can remember the deeper. The effect of learning should be better.
Well, the above is my study in the process of a little experience, the following is my study in the process of thinking should belong to the first class of functions, database functions We all know, do not need me to say, the other should belong to the third category! For your reference only, please give us a lot of advice!
The first class of PHP common functions:
Array, Date/time, Directory, Error and Logging, FileSystem, FTP, HTTP, Mail, Math, Network, PHP Option, Regexps, Session, String, URL, Variable

http://www.bkjia.com/PHPjc/532086.html www.bkjia.com true http://www.bkjia.com/PHPjc/532086.html techarticle recently I have a more detailed view of the PHP function section, did not look at the time, there is no feeling, but now I found that to really understand the full functionality of PHP, I am afraid ...

  • Related Article

    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.