<?php function example(int|string $arg) : int|string { return $arg; } var_dump(example("foo")); var_dump(example(42));
You have javascript disabled. You will not be able to edit any code.