Skip to content

Commit 9f77c44

Browse files
committed
Remove now unneeded step option (-s)
1 parent f30503c commit 9f77c44

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

sapi/phpdbg/phpdbg.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,6 @@ const opt_struct OPTIONS[] = { /* {{{ */
894894
/* phpdbg options */
895895
{'q', 0, "no banner"},
896896
{'v', 0, "disable quietness"},
897-
{'s', 0, "enable stepping"},
898897
{'b', 0, "boring colours"},
899898
{'i', 1, "specify init"},
900899
{'I', 0, "ignore init"},
@@ -1168,7 +1167,6 @@ int main(int argc, char **argv) /* {{{ */
11681167
long cleaning = -1;
11691168
zend_bool quit_immediately = 0;
11701169
zend_bool remote = 0;
1171-
int step = 0;
11721170
zend_phpdbg_globals *settings = NULL;
11731171
char *bp_tmp = NULL;
11741172
char *address;
@@ -1223,7 +1221,6 @@ int main(int argc, char **argv) /* {{{ */
12231221
php_optarg = NULL;
12241222
php_optind = 1;
12251223
opt = 0;
1226-
step = 0;
12271224
sapi_name = NULL;
12281225
if (settings) {
12291226
exec = settings->exec;
@@ -1318,10 +1315,6 @@ int main(int argc, char **argv) /* {{{ */
13181315
flags &= ~PHPDBG_IS_QUIET;
13191316
break;
13201317

1321-
case 's': /* set stepping on */
1322-
step = 1;
1323-
break;
1324-
13251318
case 'E': /* stepping through eval on */
13261319
flags |= PHPDBG_IS_STEPONEVAL;
13271320
break;
@@ -1677,11 +1670,6 @@ int main(int argc, char **argv) /* {{{ */
16771670
goto phpdbg_out;
16781671
}
16791672

1680-
/* step from here, not through init */
1681-
if (step) {
1682-
PHPDBG_G(flags) |= PHPDBG_IS_STEPPING;
1683-
}
1684-
16851673
phpdbg_fully_started = 1;
16861674

16871675
/* #ifndef for making compiler shutting up */

sapi/phpdbg/phpdbg_help.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ phpdbg_help_text_t phpdbg_help_text[] = {
378378
" **-n** Disable default php.ini" CR
379379
" **-q** Suppress welcome banner" CR
380380
" **-v** Enable oplog output" CR
381-
" **-s** Enable stepping" CR
382381
" **-b** Disable colour" CR
383382
" **-i** **-i**my.init Set .phpdbginit file" CR
384383
" **-I** Ignore default .phpdbginit" CR

0 commit comments

Comments
 (0)