Skip to content

Commit 5b670e7

Browse files
committed
Fix tests
1 parent 836631d commit 5b670e7

6 files changed

Lines changed: 29 additions & 0 deletions

File tree

Zend/tests/partial_application/constexpr_015.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ opcache.enable=1
55
opcache.enable_cli=1
66
opcache.optimization_level=-1
77
opcache.preload={PWD}/constexpr_015.inc
8+
--SKIPIF--
9+
<?php
10+
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
11+
?>
812
--FILE--
913
<?php
1014

Zend/tests/partial_application/references_004.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
PFA receives variadic param by ref if the actual function does
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.optimization_level=-1
7+
opcache.file_update_protection=0
38
--FILE--
49
<?php
510

Zend/tests/partial_application/variation_debug_001.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
PFA variation: var_dump(), user function
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.optimization_level=-1
7+
opcache.file_update_protection=0
38
--ENV--
49
A=20
510
--FILE--

Zend/tests/partial_application/variation_debug_002.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
PFA variation: var_dump(), internal function
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.optimization_level=-1
7+
opcache.file_update_protection=0
38
--ENV--
49
A=1
510
--FILE--

Zend/tests/partial_application/variation_variadics_001.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
PFA variation: variadics, user function
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.optimization_level=-1
7+
opcache.file_update_protection=0
38
--ENV--
49
A=1
510
--FILE--

Zend/tests/partial_application/variation_variadics_002.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
PFA variation: variadics, internal function
3+
--INI--
4+
opcache.enable=1
5+
opcache.enable_cli=1
6+
opcache.optimization_level=-1
7+
opcache.file_update_protection=0
38
--FILE--
49
<?php
510
$sprintf = sprintf("%d %d %d", 100, ...);

0 commit comments

Comments
 (0)