<?php declare(strict_types=1); function f(...$args){ echo "see? arguments are optional.\n"; } f(); $ref = new ReflectionFunction('f'); var_dump($ref->getParameters()[0]->getDefaultValue());
You have javascript disabled. You will not be able to edit any code.