PHP and MySQL authoritative guide-chapters 7th, 8

Source: Internet
Author: User
Tags php and mysql static class

function keyword functions

A recursive function that contains statements that call itself directly or indirectly

Include,require loading a function library file into a script program

Use special pointers in the $this class

Access or operation in class, $this

const Keyword Class constants

Construction Method _construct ()

destructor Method _destruct ()

Static class

The "::" symbol is called a range resolution operation that can be used to access static members, static methods, and constants, and can also be used to override members and methods in a class.

Use self: To represent static methods that are called in the same class

Clone () Cloning object

_clone () To adjust the cloning behavior of an object

Inheriting class extends

Parent:: Keyword used to represent the parent class and the member method in the parent class to invoke

Abstract class Abstraction

Interface interface

Namespace namespace

Magic method: __tostring () __autoload () __get () __set () __call

PHP and MySQL authoritative guide-chapters 7th, 8

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.