Hey.
I've always assumed that - in the absence of constructor parameters - the parenthesis (curly brackets) follow the class name when creating a class instance, were optional, and that you could include or exclude them at your own personal whim.
That these two statements were equal:
$foo = new bar;
$foo = new bar();
Am I right? Or is there some significance to the brackets that I am unaware of?
Thanks.
P.S.
I know this sounds like a RTFM question, but I've been searching for a while (including the entire PHP OOP section) and I can't seem to find a straight answer. (I fear my Googling skills are getting rusty :-)