<?php class MyClass { public $propr = []; function __construct() { $this->props = func_get_args(); } } var_dump(new MyClass(1, 2, 3, 4, 5));
You have javascript disabled. You will not be able to edit any code.