<?php function test(int $a) { var_dump($a); } $d = [42, 146.1173, '987', '7string', null]; foreach($d as $v) { test($v); }
You have javascript disabled. You will not be able to edit any code.