<?php function foo(): int {} var_dump((new ReflectionFunction('foo'))->getReturnType()->__toString());
You have javascript disabled. You will not be able to edit any code.