mirror of
https://github.com/php/php-src.git
synced 2026-04-12 02:23:18 +02:00
Merge branch 'PHP-8.0'
* PHP-8.0: Skip preloading test on windows
This commit is contained in:
@@ -9,7 +9,10 @@ opcache.protect_memory=1
|
||||
opcache.jit=function
|
||||
opcache.preload={PWD}/preload_bug80634.inc
|
||||
--SKIPIF--
|
||||
<?php require_once('skipif.inc'); ?>
|
||||
<?php
|
||||
require_once('skipif.inc');
|
||||
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
$v = new SomeClass(5);
|
||||
@@ -19,4 +22,4 @@ Fatal error: Uncaught Error: Writing to DatePeriod->interval is unsupported in %
|
||||
Stack trace:
|
||||
#0 %sbug80634.php(2): SomeClass->__construct(5)
|
||||
#1 {main}
|
||||
thrown in %spreload_bug80634.inc on line 7
|
||||
thrown in %spreload_bug80634.inc on line 7
|
||||
|
||||
Reference in New Issue
Block a user