<?php class Something { public function whatever(...$data) { var_dump($data); } } $some = new Something(); $stuff = ['name'=>'Product 1']; $some->whatever($stuff);
You have javascript disabled. You will not be able to edit any code.