preload

E_DEPRECATED

The E_DEPRECATED error level is used to indicate that a function or feature has been deprecated.
E_USER_DEPRECATED

The E_USER_DEPRECATED level is intended for indicating deprecated features in user code, similarly to the E_USER_ERROR and E_USER_WARNING levels.

Read More...

The “Final” keyword is used to make the class uninheritable. So the class or it’s methods can not be overridden.


An Abstract class will never be a final class as an abstract class must be extendable.

Read More...

Magic methods are the members functions that is available to all the instance of class Magic methods always starts with "__".

Eg. __construct. All magic methods needs to be declared as public To use magic method they should be defined within the class or program scope Various Magic Methods used in PHP 5 are:
__construct() __destruct() __set() __get() __call() __toString() __sleep() __wakeup() __isset() __unset() __autoload() __clone()

Read More...

default session time in PHP is 1440 seconds or 24 minutes
Default session save path id temporary folder /tmp

Read More...

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

Read More...

Contact Us

Gmail
nmohanswe
Facebook
nmohanswe
Twitter
nmohanswe
Skype
nmohanswe