summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.h
diff options
context:
space:
mode:
authortwosee <twose@qq.com>2019-05-26 13:53:26 +0800
committerNikita Popov <nikita.ppv@gmail.com>2019-06-12 16:49:32 +0200
commit61f78de4860b951b8548b745f40caef3b5369528 (patch)
tree37f2ba92c4f37d630e0312cf238e94587f25c1cf /sapi/phpdbg/phpdbg.h
parentff8002fc7c3cbf9ee01d6d68cccbbd9460314ce4 (diff)
downloadphp-git-61f78de4860b951b8548b745f40caef3b5369528.tar.gz
Constify some char* arguments or return values of ZEND_API
Closes GH-4247.
Diffstat (limited to 'sapi/phpdbg/phpdbg.h')
-rw-r--r--sapi/phpdbg/phpdbg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg.h b/sapi/phpdbg/phpdbg.h
index d1b22e6f40..f22d2ce1c2 100644
--- a/sapi/phpdbg/phpdbg.h
+++ b/sapi/phpdbg/phpdbg.h
@@ -277,7 +277,7 @@ ZEND_BEGIN_MODULE_GLOBALS(phpdbg)
zend_op_array *(*compile_file)(zend_file_handle *file_handle, int type);
zend_op_array *(*init_compile_file)(zend_file_handle *file_handle, int type);
- zend_op_array *(*compile_string)(zval *source_string, char *filename);
+ zend_op_array *(*compile_string)(zval *source_string, const char *filename);
HashTable file_sources;
FILE *oplog; /* opline log */