<?php declare(strict_types=1); function foo(int $x) { var_dump($x); } $a = 'hello'; $a = (int)$a; foo($a);
You have javascript disabled. You will not be able to edit any code.