SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 22 | Next

Hasin Hayder

"Object-Oriented Programming with PHP5"

But in PHP5 shallow
copy is possible only using the clone keyword.
There is no exception object in PHP4. But in PHP5 exception management is a great
added feature.
There were some functions to investigate methods and properties of a class in
PHP4, but in PHP5 beside those functions, a powerful set of API (Reflection API) is
introduced for this purpose.
Method overloading via magic methods like __get() and __set() are available in
PHP5. There are also lots of built-in objects to make your life easier.
But most of all, there is a huge performance improvement in PHP5 for OOP.
Some Basic OO Terms
Some of the basic object-oriented terms are as follows:
Class: A class is a template for an object. A class contains the code which defines
how an object will behave and interact either with each other, or with it. Every time
you create an object in PHP, you are actually developing the class. So sometimes in
this book we will name an object as class, as they are both synonymous.
Property: A property is a container inside the class which can retain some
information. Unlike other languages, PHP doesn't check the type of property
variable. A property could be accessible only in class itself, by its subclass, or by
everyone.


Pages:
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6