From d55300298e0e3ec0bdbb58ff3dcfda113d21852e Mon Sep 17 00:00:00 2001 From: Matt Wilmas Date: Fri, 5 Jun 2009 18:50:32 +0000 Subject: MFH: Added zend_eval_stringl and made create_function(), etc. binary-safe --- ext/interbase/php_ibase_udf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/interbase/php_ibase_udf.c') 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(); } -- cgit v1.2.1