repl.it
PHP (Legacy)

No description

fork
loading
main.php
1
2
3
4
5
6
7
8
9
<?php
$x = 20;
if ($x==10 && 1==1) {
  echo true;
} elseif (1==1) {
  echo "blah";
};
?>
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