summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
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_compile.h
parent5470222d706e422ded13111100774596d6d5822b (diff)
downloadphp-git-5286b3971cbe7763f1f5aa918a5a909f61968fe8.tar.gz
Make compile_string() accept a description of the code
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index 64b54ff0bc..57d90be57e 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -376,7 +376,7 @@ ZEND_API void function_add_ref(zend_function *function);
/* helper functions in zend-scanner.l */
ZEND_API zend_op_array *compile_file(zend_file_handle *file_handle, int type CLS_DC);
-ZEND_API zend_op_array *compile_string(zval *source_string CLS_DC);
+ZEND_API zend_op_array *compile_string(zval *source_string, char *filename CLS_DC);
ZEND_API zend_op_array *compile_filename(int type, zval *filename CLS_DC ELS_DC);
ZEND_API int zend_execute_scripts(int type CLS_DC ELS_DC, int file_count, ...);
ZEND_API int open_file_for_scanning(zend_file_handle *file_handle CLS_DC);
@@ -400,6 +400,7 @@ void print_op_array(zend_op_array *op_array, int optimizations);
int pass_two(zend_op_array *op_array);
zend_brk_cont_element *get_next_brk_cont_element(zend_op_array *op_array);
ZEND_API zend_bool zend_is_compiling(void);
+ZEND_API char *zend_make_compiled_string_description(char *name);
int zendlex(znode *zendlval CLS_DC);