summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-08-25 23:45:02 +0200
committerNikita Popov <nikic@php.net>2014-08-25 23:46:43 +0200
commit59848e3fbbcab3144c4d711df5d5be39cca51269 (patch)
treed98e771f7b98307d7bfe93a68ba38cad5a3d1880 /sapi/cli/php_cli.c
parent4ea19a682e19d47a9176c2e603602c8e3bd9679a (diff)
downloadphp-git-59848e3fbbcab3144c4d711df5d5be39cca51269.tar.gz
Remove ZEND_ACC_INTERACTIVE and CG(interactive)
As far as I can discern these are leftovers of the interactive shell implementation that was used before PHP 5.4. Now the readline ext makes use of normal eval calls for this. So, dropping these until there is evidence to the contrary, as they currently wouldn't work anyway.
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 5847849e89..2e714c4a90 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -902,8 +902,6 @@ static int do_cli(int argc, char **argv TSRMLS_DC) /* {{{ */
fflush(stdout);
}
- CG(interactive) = interactive;
-
/* only set script_file if not set already and not in direct mode and not at end of parameter list */
if (argc > php_optind
&& !script_file