Skip to content

Commit 7e21462

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
2 parents 8b06b7e + becda86 commit 7e21462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/phpdbg/phpdbg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1605,7 +1605,7 @@ int main(int argc, char **argv) /* {{{ */
16051605
quit_immediately = phpdbg_startup_run > 1;
16061606

16071607
/* set exec if present on command line */
1608-
if (!read_from_stdin && argc > php_optind && (strcmp(argv[php_optind-1], "--") != SUCCESS)) {
1608+
if (!read_from_stdin && argc > php_optind) {
16091609
if (!exec && strlen(argv[php_optind])) {
16101610
exec = strdup(argv[php_optind]);
16111611
}

0 commit comments

Comments
 (0)