diff options
| author | Zeev Suraski <zeev@php.net> | 2000-02-04 14:45:58 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2000-02-04 14:45:58 +0000 |
| commit | b6197bcf902373c481eac2c5484954c3b3bd5f85 (patch) | |
| tree | 75dcf52ac6d07dab7be506edf2e0d39505e32a29 /Zend/zend_compile.h | |
| parent | 2e90a7a368c54f1b2596caac67c325a97121b584 (diff) | |
| download | php-git-b6197bcf902373c481eac2c5484954c3b3bd5f85.tar.gz | |
Maintain a state of whether we're compiling and/or executing
Diffstat (limited to 'Zend/zend_compile.h')
| -rw-r--r-- | Zend/zend_compile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 3f304892b0..45ce3719fc 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -208,7 +208,8 @@ void shutdown_scanner(CLS_D); ZEND_API char *zend_set_compiled_filename(char *new_compiled_filename); ZEND_API void zend_restore_compiled_filename(char *original_compiled_filename); -ZEND_API char *zend_get_compiled_filename(void); +ZEND_API char *zend_get_compiled_filename(CLS_D); +ZEND_API int zend_get_compiled_lineno(CLS_D); #ifdef ZTS const char *zend_get_zendtext(CLS_D); @@ -382,6 +383,7 @@ void print_op_array(zend_op_array *op_array, int optimizations); int pass_two(zend_op_array *op_array); void pass_include_eval(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); int zendlex(znode *zendlval CLS_DC); |
