]> granicus.if.org Git - php/commitdiff
Use ZSTR_VAL
authorXinchen Hui <laruence@gmail.com>
Wed, 2 Sep 2015 15:36:13 +0000 (23:36 +0800)
committerXinchen Hui <laruence@gmail.com>
Wed, 2 Sep 2015 15:36:13 +0000 (23:36 +0800)
Zend/zend_dtrace.c

index 784e4da52722e638468fdc6b504b625f5e830e4f..d1defc6f3d78c0066166a1c77ad36d998ef7e399 100644 (file)
@@ -46,9 +46,9 @@ static inline const char *dtrace_get_executed_filename(void)
 ZEND_API zend_op_array *dtrace_compile_file(zend_file_handle *file_handle, int type)
 {
        zend_op_array *res;
-       DTRACE_COMPILE_FILE_ENTRY(file_handle->opened_path->val, (char *)file_handle->filename);
+       DTRACE_COMPILE_FILE_ENTRY(ZSTR_VAL(file_handle->opened_path), (char *)file_handle->filename);
        res = compile_file(file_handle, type);
-       DTRACE_COMPILE_FILE_RETURN(file_handle->opened_path->val, (char *)file_handle->filename);
+       DTRACE_COMPILE_FILE_RETURN(ZSTR_VAL(file_handle->opened_path), (char *)file_handle->filename);
 
        return res;
 }