I'm learning the advance concepts of php. What does new stdClass
do? I know what new stdClass();
does.
For eg) <?php new stdClass(); ? >
creates a new object. Does <?php new stdClass; ? >
do the same thing? Notice there's no parentheses. Does that make a difference? I can't find documentation on it for php manual.