- Output for 8.1.23 - 8.1.28, 8.2.10 - 8.2.19, 8.3.0 - 8.3.7
- Done
- Output for 5.6.40
- Parse error: syntax error, unexpected ':', expecting '{' in /in/ER9XA on line 4
Process exited with code 255.
<?php
$is_php7 = false;
if ( $is_php7 ) {
function test_php7_synthax(): bool {
return true;
}
}
echo 'Done';