summaryrefslogtreecommitdiff
path: root/src/sp_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_utils.c')
-rw-r--r--src/sp_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_utils.c b/src/sp_utils.c
index d7200b1..2ec1750 100644
--- a/src/sp_utils.c
+++ b/src/sp_utils.c
@@ -182,7 +182,7 @@ int sp_log_request(const zend_string* restrict folder, const zend_string* restri
182#if PHP_VERSION_ID >= 80000 182#if PHP_VERSION_ID >= 80000
183 fprintf(file, "EVAL_CODE: %s\n", ZSTR_VAL(SPG(eval_source_string))); 183 fprintf(file, "EVAL_CODE: %s\n", ZSTR_VAL(SPG(eval_source_string)));
184#else 184#else
185 fprintf(file, "EVAL_CODE: %s\n", ZSTR_VAL(zval_get_string(SPG(eval_source_string)))); 185 fprintf(file, "EVAL_CODE: %s\n", Z_STRVAL_P(SPG(eval_source_string)));
186#endif 186#endif
187 } 187 }
188 188