
Bryan Smith - 2005-11-08 16:16:54 -
In reply to message 1 from Oliver Lillie
Yes there is! Constructors can be called in php4 by creating a function with the exact name of the class.
ex:
class MyNewClass
{
// This is the constructor
function MyNewClass
{
// Do Stuff
}
}