When there are no arguments, we have these two options:
$obj = new MyClass;
vs.
$obj = new MyClass();
I always pick the former, just because.
Any thoughts?
5
Include them. It isn’t much extra work and it won’t confuse people that don’t know that leaving them off the parenthesis is an option.
1
Include them; with PHP, you want to be as specific and unambiguous as you can.
3