- Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Warning: Unsupported declare 'strict_types' in /in/SfeqV on line 2
Parse error: syntax error, unexpected '}' in /in/SfeqV on line 11
Process exited with code 255.
<?php
declare(strict_types=1);
function pass_float(float $x) {
echo "why?";
}
$i = 1;
if(gettype($i) == "integer") {
pass_float($int_value)
}