diff options
author | Matt Wilmas <mattwil@php.net> | 2009-06-05 18:50:10 +0000 |
---|---|---|
committer | Matt Wilmas <mattwil@php.net> | 2009-06-05 18:50:10 +0000 |
commit | e9b382cc2e8cd31b392e9a1915ecae98848f23cc (patch) | |
tree | 09b23253ab64fa05526b8e90cd66d40e1b0d49fc /sapi/cli/php_cli.c | |
parent | 88127e23280dd94b7c8b443e147c4ad8e4ba5b21 (diff) | |
download | php-git-e9b382cc2e8cd31b392e9a1915ecae98848f23cc.tar.gz |
Added zend_eval_stringl and made create_function(), etc. binary-safe
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index d3e44be30c..c7dca71179 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -1169,7 +1169,7 @@ int main(int argc, char *argv[]) continue; } - zend_eval_string(code, NULL, "php shell code" TSRMLS_CC); + zend_eval_stringl(code, pos, NULL, "php shell code" TSRMLS_CC); pos = 0; if (php_last_char != '\0' && php_last_char != '\n') { |