Skip to content

Commit 410e786

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Use absolute paths in OPCache tests when calling `opcache_compile_file()`
2 parents a903586 + 31fd34a commit 410e786

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/opcache/tests/gh9968-1.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<?php
22

3-
opcache_compile_file('ext/opcache/tests/gh9968-2.inc');
3+
opcache_compile_file(__DIR__ . '/gh9968-2.inc');

ext/opcache/tests/preload_const_autoload.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ spl_autoload_register(function($class) {
44
var_dump($class);
55
new Abc;
66
});
7-
opcache_compile_file('preload_const_autoload_2.inc');
7+
opcache_compile_file(__DIR__ . '/preload_const_autoload_2.inc');

0 commit comments

Comments
 (0)