This question already has an answer here:
Not really sure how to search this, but is there really a difference between these two?
$t = new Test();
// vs...
$t = new Test;
</div>
This question already has an answer here:
Not really sure how to search this, but is there really a difference between these two?
$t = new Test();
// vs...
$t = new Test;
</div>
There is no difference. The __construct() method is executed with both.