Difference between object creation using `new ClassName` and `new ClassName()` in PHP

php, syntax

Solution

Nope, no difference whatsoever. If you don't need to pass parameters to the constructor, the parentheses are entirely superfluous.

Problem

I know, in PHP, we can create an object using `new ClassName` and also using `new ClassName()` (notice the parenthesis). Is there ANY difference between both of these ways at all?

Original source