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 /ext/interbase/php_ibase_udf.c | |
parent | 88127e23280dd94b7c8b443e147c4ad8e4ba5b21 (diff) | |
download | php-git-e9b382cc2e8cd31b392e9a1915ecae98848f23cc.tar.gz |
Added zend_eval_stringl and made create_function(), etc. binary-safe
Diffstat (limited to 'ext/interbase/php_ibase_udf.c')
-rw-r--r-- | ext/interbase/php_ibase_udf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/interbase/php_ibase_udf.c b/ext/interbase/php_ibase_udf.c index fd836de5e6..4f7076590f 100644 --- a/ext/interbase/php_ibase_udf.c +++ b/ext/interbase/php_ibase_udf.c @@ -165,7 +165,7 @@ void exec_php(BLOBCALLBACK b, PARAMDSC *res, ISC_SHORT *init) #endif /* feed it to the parser */ zend_first_try { - result = zend_eval_string(code, NULL, "Firebird Embedded PHP engine" TSRMLS_CC); + result = zend_eval_stringl(code, b->blob_total_length, NULL, "Firebird Embedded PHP engine" TSRMLS_CC); } zend_end_try(); } |