summaryrefslogtreecommitdiff
path: root/ext/interbase/php_ibase_udf.c
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 /ext/interbase/php_ibase_udf.c
parenta80be6827dd734ddb33dbf8b177a3d70a20cd9b5 (diff)
downloadphp-git-d55300298e0e3ec0bdbb58ff3dcfda113d21852e.tar.gz
MFH: 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/interbase/php_ibase_udf.c b/ext/interbase/php_ibase_udf.c
index 31ca1e38f9..ef2bc6c4fd 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();
}