Browse Source

- Show whether this is the shell or just the starnge mode

migration/RELEASE_1_0_0
Marcus Boerger 21 years ago
parent
commit
34c8cd0190
  1. 4
      sapi/cli/php_cli.c

4
sapi/cli/php_cli.c

@ -783,7 +783,11 @@ int main(int argc, char *argv[])
case 'a': /* interactive mode */
if (!interactive) {
#if (HAVE_LIBREADLINE || HAVE_LIBEDIT) && !defined(COMPILE_DL_READLINE)
printf("Interactive shell\n\n");
#else
printf("Interactive mode enabled\n\n");
#endif
fflush(stdout);
interactive=1;
}

Loading…
Cancel
Save