We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e266f3 commit 8b7ab83Copy full SHA for 8b7ab83
phpdbg_print.c
@@ -36,7 +36,7 @@ PHPDBG_PRINT(opline) /* {{{ */
36
return SUCCESS;
37
} /* }}} */
38
39
-static inline phpdbg_print_function_helper(zend_function *method TSRMLS_DC) {
+static inline void phpdbg_print_function_helper(zend_function *method TSRMLS_DC) {
40
switch (method->type) {
41
case ZEND_USER_FUNCTION: {
42
zend_op_array* op_array = &method->op_array;
@@ -63,7 +63,7 @@ static inline phpdbg_print_function_helper(zend_function *method TSRMLS_DC) {
63
64
65
do {
66
- char *decode = phpdbg_decode_opcode(opline->opcode);
+ const char *decode = phpdbg_decode_opcode(opline->opcode);
67
if (decode != NULL) {
68
phpdbg_writeln(
69
"\t\t#%lu\t%p %s", opline->lineno, opline, decode);
0 commit comments