summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorMatt Wilmas <mattwil@php.net>2009-06-05 18:50:32 +0000
committerMatt Wilmas <mattwil@php.net>2009-06-05 18:50:32 +0000
commitd55300298e0e3ec0bdbb58ff3dcfda113d21852e (patch)
treef8efe461ea2aab77c8d712d7954c09fc481095b6 /sapi
parenta80be6827dd734ddb33dbf8b177a3d70a20cd9b5 (diff)
downloadphp-git-d55300298e0e3ec0bdbb58ff3dcfda113d21852e.tar.gz
MFH: Added zend_eval_stringl and made create_function(), etc. binary-safe
Diffstat (limited to 'sapi')
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 16d9e55dd6..a8ab0edf71 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -1165,7 +1165,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') {