<?php function f($req, $opt = null, ...$params) { printf('$req: %d; $opt: %d; number of params: %d'."\n", $req, $opt, count($params)); } f(...range(0, 3));
You have javascript disabled. You will not be able to edit any code.