diff options
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 0a1a447d70..fbc6f8b01e 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -714,7 +714,7 @@ int main(int argc, char *argv[]) switch (c) { case 'a': /* interactive mode */ - if (interactive) { + if (!interactive) { printf("Interactive mode enabled\n\n"); fflush(stdout); interactive=1; |