<?php function foo($int): ?int { if (!is_int($int)) { return; } return $int; } foo(12);
You have javascript disabled. You will not be able to edit any code.