LAMP Interview Questions
Collection of Linux, Apache, Mysql and Php Interview Questions
Saturday, August 31, 2013
How to write a constructor in php4 & in php5 ?
In PHP4, a constructor is a method with a name same as that of class itself.
In PHP5, all constructors are named as __construct()
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment