Skip to content

Commit 32cf58f

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Skip preloading test on windows
2 parents 378f870 + 286c13e commit 32cf58f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ext/opcache/tests/jit/bug80634.phpt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ opcache.protect_memory=1
99
opcache.jit=function
1010
opcache.preload={PWD}/preload_bug80634.inc
1111
--SKIPIF--
12-
<?php require_once('skipif.inc'); ?>
12+
<?php
13+
require_once('skipif.inc');
14+
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
15+
?>
1316
--FILE--
1417
<?php
1518
$v = new SomeClass(5);
@@ -19,4 +22,4 @@ Fatal error: Uncaught Error: Writing to DatePeriod->interval is unsupported in %
1922
Stack trace:
2023
#0 %sbug80634.php(2): SomeClass->__construct(5)
2124
#1 {main}
22-
thrown in %spreload_bug80634.inc on line 7
25+
thrown in %spreload_bug80634.inc on line 7

0 commit comments

Comments
 (0)