<?php function foo(float $bar) : int { return (int) $bar; } var_dump(foo(PHP_INT_MAX));
You have javascript disabled. You will not be able to edit any code.