Skip to content

Commit a6816a1

Browse files
author
Matt Wilmas
committed
MFH: Added zend_eval_stringl and made create_function(), etc. binary-safe
1 parent e627e83 commit a6816a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php_ibase_udf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ void exec_php(BLOBCALLBACK b, PARAMDSC *res, ISC_SHORT *init)
165165
#endif
166166
/* feed it to the parser */
167167
zend_first_try {
168-
result = zend_eval_string(code, NULL, "Firebird Embedded PHP engine" TSRMLS_CC);
168+
result = zend_eval_stringl(code, b->blob_total_length, NULL, "Firebird Embedded PHP engine" TSRMLS_CC);
169169
} zend_end_try();
170170
}
171171

0 commit comments

Comments
 (0)