posted 10 years ago
What is the difference between two ways two create objects in PHP.
I think 2 approach is when you don`t have to pass arguments to __construct() method
And 1 approach is when you have to pass arguments to __construct method.
Does __construct() method is by default present in every PHP class ?
Tea Addict, Oracle Java Programmer , Oracle SQL Expert , Oracle Java Web Component Developer, Oracle Web Service Developer