Ive looked and tried but I can\'t find an answer.
In PHP, is it possible to call a class\' member function (when that class requires a constructor to receive parame
Just do this (in PHP >= 5.4):
$t = (new Test("Hello"))->foo("world");