[eluser]Doug Lerner[/eluser]
In the documentation it points out that this syntax is used to define a construction in PHP 4:
Code:
class Blog extends Controller {
function Blog()
{
parent::Controller();
}
}
while this syntax is used in PHP 5:
Code:
class Blog extends Controller {
function _construct()
{
parent::Controller();
}
}
In the rest of the documentation pages the PHP 4 syntax seems to be used.
My question is, if my site is using PHP 5 does it make any difference at all which syntax I actually use, or are they equivalent in PHP 5?
Thanks,
doug