diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-01-06 22:42:31 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-01-06 22:42:31 +0100 |
commit | 9b6c0bdcd6f29a00d0f3659ecc95898d90cadad1 (patch) | |
tree | 9cfdeed8260e55fcd960640b5e9f015342db6f54 /ext/opcache/tests | |
parent | b22daa3a06fcb033b51cf694da7cb20f78bbe2a6 (diff) | |
parent | 59c3ddab13b5cc38e9406538801be8e134626793 (diff) | |
download | php-git-9b6c0bdcd6f29a00d0f3659ecc95898d90cadad1.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove support for preloading on Windows
Diffstat (limited to 'ext/opcache/tests')
33 files changed, 137 insertions, 52 deletions
diff --git a/ext/opcache/tests/bug78014.phpt b/ext/opcache/tests/bug78014.phpt index 14f205e7b8..47ec05977c 100644 --- a/ext/opcache/tests/bug78014.phpt +++ b/ext/opcache/tests/bug78014.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_bug78014.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 class B extends A { diff --git a/ext/opcache/tests/bug78175.phpt b/ext/opcache/tests/bug78175.phpt index eb513e3f01..b477e04fe6 100644 --- a/ext/opcache/tests/bug78175.phpt +++ b/ext/opcache/tests/bug78175.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_bug78175.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-- OK --EXPECT-- diff --git a/ext/opcache/tests/bug78175_2.phpt b/ext/opcache/tests/bug78175_2.phpt index 1d736f6e10..7b5ad850ae 100644 --- a/ext/opcache/tests/bug78175_2.phpt +++ b/ext/opcache/tests/bug78175_2.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_bug78175_2.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 var_dump(get_class(Loader::getLoader())); diff --git a/ext/opcache/tests/bug78376.phpt b/ext/opcache/tests/bug78376.phpt index efc69c927e..5a8ed8b15a 100644 --- a/ext/opcache/tests/bug78376.phpt +++ b/ext/opcache/tests/bug78376.phpt @@ -6,10 +6,13 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_bug78376.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 var_dump(\A::$a); ?> --EXPECT-- -string(4) "aaaa"
\ No newline at end of file +string(4) "aaaa" diff --git a/ext/opcache/tests/bug78937_1.phpt b/ext/opcache/tests/bug78937_1.phpt index 1125ad4eb0..bc285f107b 100644 --- a/ext/opcache/tests/bug78937_1.phpt +++ b/ext/opcache/tests/bug78937_1.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_bug78937.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 class Bar { diff --git a/ext/opcache/tests/bug78937_2.phpt b/ext/opcache/tests/bug78937_2.phpt index 880063298b..a20c07d231 100644 --- a/ext/opcache/tests/bug78937_2.phpt +++ b/ext/opcache/tests/bug78937_2.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_bug78937.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 include(__DIR__ . "/preload_bug78937.inc"); @@ -19,4 +22,4 @@ Warning: Can't preload unlinked class Foo: Unknown parent Bar in %spreload_bug78 Warning: Can't preload unlinked class class@anonymous: Unknown parent Bar in %spreload_bug78937.inc on line 3 object(class@anonymous)#%d (0) { -}
\ No newline at end of file +} diff --git a/ext/opcache/tests/bug78937_3.phpt b/ext/opcache/tests/bug78937_3.phpt index 1c706e237d..16f7b80a40 100644 --- a/ext/opcache/tests/bug78937_3.phpt +++ b/ext/opcache/tests/bug78937_3.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_bug78937.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 include(__DIR__ . "/preload_bug78937.inc"); diff --git a/ext/opcache/tests/bug78937_4.phpt b/ext/opcache/tests/bug78937_4.phpt index b555516d00..2ad86870de 100644 --- a/ext/opcache/tests/bug78937_4.phpt +++ b/ext/opcache/tests/bug78937_4.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_bug78937.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 class Bar { @@ -19,4 +22,4 @@ Warning: Can't preload unlinked class Foo: Unknown parent Bar in %spreload_bug78 Warning: Can't preload unlinked class class@anonymous: Unknown parent Bar in %spreload_bug78937.inc on line 3 -Fatal error: Class foo wasn't preloaded in %spreload_bug78937.inc on line 6
\ No newline at end of file +Fatal error: Class foo wasn't preloaded in %spreload_bug78937.inc on line 6 diff --git a/ext/opcache/tests/bug78937_5.phpt b/ext/opcache/tests/bug78937_5.phpt index f9f01a2a26..3502699750 100644 --- a/ext/opcache/tests/bug78937_5.phpt +++ b/ext/opcache/tests/bug78937_5.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_bug78937.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 include(__DIR__ . "/preload_bug78937.inc"); @@ -20,4 +23,4 @@ Warning: Can't preload unlinked class Foo: Unknown parent Bar in %spreload_bug78 Warning: Can't preload unlinked class class@anonymous: Unknown parent Bar in %spreload_bug78937.inc on line 3 object(Foo)#%d (0) { -}
\ No newline at end of file +} diff --git a/ext/opcache/tests/bug78937_6.phpt b/ext/opcache/tests/bug78937_6.phpt index 28dcb0ce53..ec1cc2d277 100644 --- a/ext/opcache/tests/bug78937_6.phpt +++ b/ext/opcache/tests/bug78937_6.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_bug78937.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 include(__DIR__ . "/preload_bug78937.inc"); diff --git a/ext/opcache/tests/preload_001.phpt b/ext/opcache/tests/preload_001.phpt index 8b1fa1ff31..56ed196e99 100644 --- a/ext/opcache/tests/preload_001.phpt +++ b/ext/opcache/tests/preload_001.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload.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 var_dump(function_exists("f1")); diff --git a/ext/opcache/tests/preload_002.phpt b/ext/opcache/tests/preload_002.phpt index 18fe56d4ba..0115ff0564 100644 --- a/ext/opcache/tests/preload_002.phpt +++ b/ext/opcache/tests/preload_002.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload.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 var_dump((new ReflectionMethod('x', 'foo'))->getPrototype()->class); diff --git a/ext/opcache/tests/preload_003.phpt b/ext/opcache/tests/preload_003.phpt index b808387967..9ecec31aae 100644 --- a/ext/opcache/tests/preload_003.phpt +++ b/ext/opcache/tests/preload_003.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload.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 Y::foo(); diff --git a/ext/opcache/tests/preload_004.phpt b/ext/opcache/tests/preload_004.phpt index 7242d071cb..be83c45369 100644 --- a/ext/opcache/tests/preload_004.phpt +++ b/ext/opcache/tests/preload_004.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_undef_const.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 var_dump(class_exists('Foo')); diff --git a/ext/opcache/tests/preload_005.phpt b/ext/opcache/tests/preload_005.phpt index 1bcfae4d79..67e44610bc 100644 --- a/ext/opcache/tests/preload_005.phpt +++ b/ext/opcache/tests/preload_005.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_globals.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 $x = 123; diff --git a/ext/opcache/tests/preload_006.phpt b/ext/opcache/tests/preload_006.phpt index b597d8eff8..76d9629774 100644 --- a/ext/opcache/tests/preload_006.phpt +++ b/ext/opcache/tests/preload_006.phpt @@ -8,6 +8,7 @@ opcache.preload={PWD}/preload_inheritance_error_ind.inc --SKIPIF-- <?php require_once('skipif.inc'); +if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows'); if (getenv('SKIP_ASAN')) die('xfail Startup failure leak'); ?> --FILE-- diff --git a/ext/opcache/tests/preload_007.phpt b/ext/opcache/tests/preload_007.phpt index 2054cd8740..79c2a6737a 100644 --- a/ext/opcache/tests/preload_007.phpt +++ b/ext/opcache/tests/preload_007.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_include.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 echo "Foobar"; diff --git a/ext/opcache/tests/preload_008.phpt b/ext/opcache/tests/preload_008.phpt index 2e630be9a0..8d7b42cab5 100644 --- a/ext/opcache/tests/preload_008.phpt +++ b/ext/opcache/tests/preload_008.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload.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 var_dump(get_anon()); diff --git a/ext/opcache/tests/preload_009.phpt b/ext/opcache/tests/preload_009.phpt index 0434bfb91c..9422295814 100644 --- a/ext/opcache/tests/preload_009.phpt +++ b/ext/opcache/tests/preload_009.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_undef_const_2.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 var_dump(trait_exists('T')); diff --git a/ext/opcache/tests/preload_010.phpt b/ext/opcache/tests/preload_010.phpt index 80967f64a6..4e5121f23c 100644 --- a/ext/opcache/tests/preload_010.phpt +++ b/ext/opcache/tests/preload_010.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_overwritten_prop_init.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 var_dump((new Bar)->prop); diff --git a/ext/opcache/tests/preload_011.phpt b/ext/opcache/tests/preload_011.phpt index 4669e7a73a..9beab03082 100644 --- a/ext/opcache/tests/preload_011.phpt +++ b/ext/opcache/tests/preload_011.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_variance_ind.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 interface K {} diff --git a/ext/opcache/tests/preload_012.phpt b/ext/opcache/tests/preload_012.phpt index 4758296dcb..7c5ad9aa1a 100644 --- a/ext/opcache/tests/preload_012.phpt +++ b/ext/opcache/tests/preload_012.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_const_autoload.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-- --EXPECTF-- Warning: Can't preload class Test with unresolved initializer for constant C in %s on line %d diff --git a/ext/opcache/tests/preload_013.phpt b/ext/opcache/tests/preload_013.phpt index f6387c08e1..925a1fc5ef 100644 --- a/ext/opcache/tests/preload_013.phpt +++ b/ext/opcache/tests/preload_013.phpt @@ -7,7 +7,10 @@ opcache.optimization_level=-1 opcache.preload={PWD}/preload_nested_function.inc opcache.interned_strings_buffer=0 --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 test(); diff --git a/ext/opcache/tests/preload_class_alias.phpt b/ext/opcache/tests/preload_class_alias.phpt index aee94426d0..3c615c409a 100644 --- a/ext/opcache/tests/preload_class_alias.phpt +++ b/ext/opcache/tests/preload_class_alias.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_class_alias.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 var_dump(class_exists('A')); diff --git a/ext/opcache/tests/preload_class_alias_2.phpt b/ext/opcache/tests/preload_class_alias_2.phpt index 6dc2c21a8a..82167afa9b 100644 --- a/ext/opcache/tests/preload_class_alias_2.phpt +++ b/ext/opcache/tests/preload_class_alias_2.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_class_alias_2.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 var_dump(class_exists('B')); diff --git a/ext/opcache/tests/preload_loadable_classes_1.phpt b/ext/opcache/tests/preload_loadable_classes_1.phpt index 8673814403..c89633343c 100644 --- a/ext/opcache/tests/preload_loadable_classes_1.phpt +++ b/ext/opcache/tests/preload_loadable_classes_1.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_loadable_classes_1.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 var_dump(class_exists('Test')); diff --git a/ext/opcache/tests/preload_loadable_classes_2.phpt b/ext/opcache/tests/preload_loadable_classes_2.phpt index de4b04f8ab..c1f873ec47 100644 --- a/ext/opcache/tests/preload_loadable_classes_2.phpt +++ b/ext/opcache/tests/preload_loadable_classes_2.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_loadable_classes_2.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-- Unreachable --EXPECTF-- diff --git a/ext/opcache/tests/preload_loadable_classes_3.phpt b/ext/opcache/tests/preload_loadable_classes_3.phpt index a48692960a..78efb16804 100644 --- a/ext/opcache/tests/preload_loadable_classes_3.phpt +++ b/ext/opcache/tests/preload_loadable_classes_3.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_loadable_classes_3.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-- Unreachable --EXPECTF-- diff --git a/ext/opcache/tests/preload_loadable_classes_4.inc b/ext/opcache/tests/preload_loadable_classes_4.inc deleted file mode 100644 index 162de6eab2..0000000000 --- a/ext/opcache/tests/preload_loadable_classes_4.inc +++ /dev/null @@ -1,3 +0,0 @@ -<?php - -class Test extends Exception {} diff --git a/ext/opcache/tests/preload_loadable_classes_4.phpt b/ext/opcache/tests/preload_loadable_classes_4.phpt deleted file mode 100644 index 07f0d094ce..0000000000 --- a/ext/opcache/tests/preload_loadable_classes_4.phpt +++ /dev/null @@ -1,16 +0,0 @@ ---TEST-- -Preloading: Loadable class checking (4) ---INI-- -opcache.enable=1 -opcache.enable_cli=1 -opcache.optimization_level=-1 -opcache.preload={PWD}/preload_loadable_classes_4.inc ---SKIPIF-- -<?php -require_once('skipif.inc'); -if (PHP_OS_FAMILY != 'Windows') die('skip Windows only'); -?> ---FILE-- -Unreachable ---EXPECTF-- -Fatal error: Class Test uses internal class Exception during preloading, which is not supported on Windows in Unknown on line 0 diff --git a/ext/opcache/tests/preload_trait_static.phpt b/ext/opcache/tests/preload_trait_static.phpt index 55e3a2cd8a..c767ad6a9b 100644 --- a/ext/opcache/tests/preload_trait_static.phpt +++ b/ext/opcache/tests/preload_trait_static.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_trait_static.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 $bar = new Bar; diff --git a/ext/opcache/tests/preload_unresolved_prop_type.phpt b/ext/opcache/tests/preload_unresolved_prop_type.phpt index 117f36692a..3e2accd19e 100644 --- a/ext/opcache/tests/preload_unresolved_prop_type.phpt +++ b/ext/opcache/tests/preload_unresolved_prop_type.phpt @@ -6,7 +6,10 @@ opcache.enable_cli=1 opcache.optimization_level=-1 opcache.preload={PWD}/preload_unresolved_prop_type.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-- ===DONE=== --EXPECTF-- diff --git a/ext/opcache/tests/preload_windows.phpt b/ext/opcache/tests/preload_windows.phpt new file mode 100644 index 0000000000..0414cfa0b5 --- /dev/null +++ b/ext/opcache/tests/preload_windows.phpt @@ -0,0 +1,16 @@ +--TEST-- +Preloading is not supported on Windows +--INI-- +opcache.enable=1 +opcache.enable_cli=1 +opcache.optimization_level=-1 +opcache.preload={PWD}/preload.inc +--SKIPIF-- +<?php +require_once('skipif.inc'); +if (PHP_OS_FAMILY != 'Windows') die('skip Windows only test'); +?> +--FILE-- +Unreachable +--EXPECTF-- +%s: Error Preloading is not supported on Windows |