i have a doubt about constructors, wich way is the correct one to set up a constructor
class example
{
public function example()
{
//some code
}
}
// OR
class example
{
public function __construct()
{
//some code
}
}

New Topic/Question
Reply




MultiQuote







|