<?php function a(): int { return 1.0001; } function b($c): int { if (!is_int($c)) { throw new \Exception('not an int'); } return $c * 5; } var_dump(a(), b(a()));
You have javascript disabled. You will not be able to edit any code.