summaryrefslogtreecommitdiff
path: root/phpdbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'phpdbg.c')
-rw-r--r--phpdbg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpdbg.c b/phpdbg.c
index bf6dbd4e1f..8fde93cd90 100644
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -1260,8 +1260,9 @@ phpdbg_main:
phpdbg_welcome((cleaning > 0) TSRMLS_CC);
}
+ /* auto compile */
if (PHPDBG_G(exec)) {
- PHPDBG_COMMAND_HANDLER(compile)(NULL TSRMLS_CC);
+ phpdbg_compile(TSRMLS_C);
}
/* initialize from file */