Copy the codeCode is as follows:
<? PHP
/* PHP Object-Oriented Program Design
*
* PHP5
*
* And an array of objects: all belong to the PHP compound type (a variable can store multiple Unit)
*
* Object than an array of more powerful, not only can store more data, can also be a function of Object
*
* The object of the three characteristics: a package, inheritance and Polymorphism
*
* Object Oriented Programming (OOP)/fit in software engineering reusability flexibility and scalability
*
* Object-oriented and process-oriented is the difference
*
* The smallest unit: the function/process-oriented
* The smallest unit: Object/object-oriented
*
* What is object
Recently, Sina management begins, public information disclosure, when the MBO makes management spirited become Sina's largest shareholder, can go to today, they have become the second largest shareholder. The proportion of equity apart was not: and the largest shareholder of FMR9.24 % proportion of only 0.1% gap. But Sina management have agreed to the sale of the Agreement, if you count on this part of the future might be selling the stake, management will be left 5.74. Sina might actually be a trove of the company ".
This is Sina as a company, the future of the trouble: profit model is not clear, trove of possibility and started to show.
* The object is an entity
* Object:
* Member properties = variable // define an object the look and feel of the State
* Members Method = function/Defined Object Function
*
* What is the class
* Classification, type, a custom type
*
* In the classes defined in this type of properties and methods.
*
* Classes and objects of a relationship
*
* Declare class --> instantiate the object (create an object) --> use the object
*
*
* The most rare is how to design to step up to the plate to the object, rather than an object-oriented syntax.
*
*/
?>
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.