<?php class T { } class Y { } $x = function(T ...$configs) { var_dump($configs); }; $x(new T, new T, new Y);
You have javascript disabled. You will not be able to edit any code.