I am in a situations where i need to instantiate a class with arguments from within an instance of another class. Here is the prototype:
//test.php class test {
We're in 2019 now and we have php7 now... and we have the spread-operator (...) . We can now simply call