3v4l.org

run code in 200+ php & hhvm versions
<?php declare(strict_types=1); function multiply(float $a, float $b): int { return $a * $b; } $six = multiply(2, 3); echo gettype($a, %b);
based on qoNo4
Output for 7.3.0 - 7.4.0beta4
Parse error: syntax error, unexpected '%', expecting ')' in /in/b66lE on line 7
Process exited with code 255.
Output for 7.1.25 - 7.2.22
Parse error: syntax error, unexpected '%' in /in/b66lE on line 7
Process exited with code 255.