<?php class Foo { public function bar(float $arg) { return $arg; } } $foo = new Foo(); try { var_dump($foo->bar(false)); } catch (Error $e) { echo '!!!' . $e->getMessage() . '!!!'; }
You have javascript disabled. You will not be able to edit any code.