<?php class TypeHinter { public function giveMeAnInt(int $i) { var_dump($i); } } $th = new TypeHinter; $i = 5; $th->giveMeAnInt($i);
You have javascript disabled. You will not be able to edit any code.