What is PHP used ?, Is PHP used?

Source: Internet
Author: User

What is PHP used ?, Is PHP used?

To master PHP is to use computers to develop rules. Framework tp3.2/5.2

In Structured Programming, programs are designed around the tasks to be solved.

In object-oriented programming, the program is designed around the objects in the problem domain.

How to recognize objects:
● Analogy ----> Classification
Class is the abstract object of a thing. It is an instance of a class (instantiation-> new)

A class is a set of objects with the same attributes and behaviors.

In software systems, we use classes to simulate entities in real life (the simulation has a line)

Classes do not exist in the true sense, but are defined in the concept of long-lasting people.

Strong language: mandatory (mandatory data type)
Weak language: weakening (not required to be defined)
Custom class:

Class Person [identifier ]{
// Attributes
Public $ name;
Public $ birth;
// Action
Function useTools (){


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.