Skip to content

Commit 80df36f

Browse files
committed
ext/opcache: formalize return type of check_persistent_script_access() to bool
1 parent 59c1eb8 commit 80df36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1993,7 +1993,7 @@ static zend_op_array *file_cache_compile_file(zend_file_handle *file_handle, int
19931993
return op_array;
19941994
}
19951995

1996-
static int check_persistent_script_access(zend_persistent_script *persistent_script)
1996+
static bool check_persistent_script_access(zend_persistent_script *persistent_script)
19971997
{
19981998
char *phar_path, *ptr;
19991999
if ((ZSTR_LEN(persistent_script->script.filename)<sizeof("phar://.phar")) ||

0 commit comments

Comments
 (0)