repl.it
@acwoss/

RareGiddyNlp

PHP (Legacy)

No description

fork
loading
main.php
1
2
3
4
5
6
7
8
declare(strict_types=1);
 
function increment(int $x): int
{
    return $x + 1;
}
 
echo increment('1'); // 2
PHP 7.0.8 (Legacy: use the following for new features: Command-line PHP: https://repl.it/languages/php_cli PHP Web Server: https://repl.it/languages/php7