<?php function obtenerArgumentos($req, ...$opts) { var_dump([$req, $opts]); } obtenerArgumentos('req', 'opt1', 'opt2'); ?>
You have javascript disabled. You will not be able to edit any code.