<?php declare(strict_types=1); function add(int $x, int $y): int { return $x + $y; } var_dump(add(1, 2)); var_dump(add(1, '2'));
You have javascript disabled. You will not be able to edit any code.