PHP tips and tips

Source: Internet
Author: User
1. when you are looking for information about a specific PHP function, go to http://php.net /. For example, http://php.net/join. This will directly bring you to an accurate position in the online manual on a server around your geographic position. 2. try this

1. when you are looking for information about a specific PHP function, go to http://php.net /. For example, http://php.net/join. This will directly bring you to an accurate position in the online manual on a server around your geographic position.

2. try this: pear install apc. The pear command is a useful installation program. it can even be used to install PHP extensions written in C. In this case, it will install the APC opcode high-speed cache expansion.

3. application opcode cache to improve performance. See #2.

4. there are no errors in mixed OOP and process code in PHP. When the object is meaningful, the object is applied, and other situations are switched over.

5. using your customized C or C extension to expand PHP is easier than you think. See README. EXT_SKEL in the PHP source code version.

6. echo <

7. PATH_INFO is great! Use it to clear the face-to-face URL.

8. apply a record program, pear install apd.

9. database abstraction is mostly a fictitious story. There is nothing wrong with direct database calls. it uses all the skills and tips required by the database you select to achieve the highest possible performance.

10. keep applying your basic skills and build simple blocks. The Web server of wireless application avoids complicated frameworks and abstraction layers, giving you the opportunity to track and debug any titles that may be presented. It is very simple to solve the Web title; do not try to make it hard.

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.