preload
There are lot of difference among these three version of php
1)Php3 is oldest version after that php4 came and current version is php5 (php5.3) where php6 have to come
2)Difference mean oldest version have less functionality as compare to new one like php5 have all OOPs concept now where as php3 was pure procedural language constructive like C
In PHP5
1. Implementation of exceptions and exception handling
2. Type hinting which allows you to force the type of a specific argument
3. Overloading of methods through the __call function
4. Full constructors and destructors etc through a __constuctor and __destructor function
5. __autoload function for dynamically including certain include files depending on the class you are trying to create.
6 Finality : can now use the final keyword to indicate that a method cannot be overridden by a child. You can also declare an entire class as final which prevents it from having any children at all.
7 Interfaces & Abstract Classes
8 Passed by Reference :
9 An __clone method if you really want to duplicate an object
  • 0 comments:

    • Post a Comment

Contact Us

Gmail
nmohanswe
Facebook
nmohanswe
Twitter
nmohanswe
Skype
nmohanswe