summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-09-12 19:47:25 +0000
committerZeev Suraski <zeev@php.net>2000-09-12 19:47:25 +0000
commit5286b3971cbe7763f1f5aa918a5a909f61968fe8 (patch)
treee4a735e247114874d05c60a4e7f4c4b98363bad9 /Zend/zend_execute_API.c
parent5470222d706e422ded13111100774596d6d5822b (diff)
downloadphp-git-5286b3971cbe7763f1f5aa918a5a909f61968fe8.tar.gz
Make compile_string() accept a description of the code
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index d67c98395a..fc17c591bd 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -457,7 +457,7 @@ int call_user_function_ex(HashTable *function_table, zval *object, zval *functio
}
-ZEND_API int zend_eval_string(char *str, zval *retval_ptr CLS_DC ELS_DC)
+ZEND_API int zend_eval_string(char *str, zval *retval_ptr, char *string_name CLS_DC ELS_DC)
{
zval pv;
zend_op_array *new_op_array;
@@ -482,7 +482,7 @@ ZEND_API int zend_eval_string(char *str, zval *retval_ptr CLS_DC ELS_DC)
original_handle_op_arrays = CG(handle_op_arrays);
CG(handle_op_arrays) = 0;
- new_op_array = compile_string(&pv CLS_CC);
+ new_op_array = compile_string(&pv, string_name CLS_CC);
CG(handle_op_arrays) = original_handle_op_arrays;
if (new_op_array) {