2014.10.29--php

Source: Internet
Author: User
  1. In a PHP class if $this->wowo; where Wowo is a variable, but not defined in the class, the system automatically calls the __get magic function,

  2. Self:: Can be applied to a class, used to get static variables or functions, $this----to take out a class of private, public variable functions, can also go to static variables;

  3. When viewing the code, you can apply debug to view the specific parameter contents;







Today's quotations: if you want to do something, you will always find a way to solve the problem, if you do not want to do, can always find a variety of excuses.

PS: Tutorial to keep looking, when you are busy with one thing, please exit a little distance to see the whole; maybe there will be a different harvest.

2014.10.29--php

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.