A few PHP basics, but there's no problem with the book.

Source: Internet
Author: User
A few PHP basics, but the book didn't find a problem.
See a lot of the framework inside some code with two underscores, such as __isset, __construct and so on, is not in front of the custom function can be added two underline? What is the effect of two underscores?
There is a _e, what is this??

These are not in basic programming, are they? I haven't seen it in the basic tutorial??

Everybody, teach me a lot.


------Solution--------------------
Search: Php Magic method
------Solution--------------------
Adding no underline has no practical effect, just let beginners do not name it, avoid the possibility of conflict with their own methods.
------Solution--------------------
The above two are magic methods, the following should be the framework of a custom method

  • 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.