Skip to content

Commit 18293f9

Browse files
committed
Merge branch 'PHP-7.1'
* PHP-7.1: make test slower again
2 parents bbda362 + 3006d1d commit 18293f9

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

Zend/tests/bug74093.phpt

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
--TEST--
2-
Bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log)
3-
--SKIPIF--
4-
<?php
5-
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
6-
if (PHP_ZTS) die("skip only for no-zts build");
7-
if (substr(PHP_OS, 0, 3) == 'WIN') die("skip not for Windows");
8-
?>
9-
--INI--
10-
memory_limit=1G
11-
max_execution_time=1
12-
hard_timeout=1
13-
--FILE--
14-
<?php
15-
$a1 = range(1, 1000000);
16-
$a2 = range(100000, 999999);
17-
array_intersect($a1, $a2);
18-
?>
19-
--EXPECTF--
20-
Fatal error: Maximum execution time of 1+1 seconds exceeded %s
1+
--TEST--
2+
Bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log)
3+
--SKIPIF--
4+
<?php
5+
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
6+
if (PHP_ZTS) die("skip only for no-zts build");
7+
if (substr(PHP_OS, 0, 3) == 'WIN') die("skip not for Windows");
8+
?>
9+
--INI--
10+
memory_limit=1G
11+
max_execution_time=1
12+
hard_timeout=1
13+
--FILE--
14+
<?php
15+
$a1 = range(1, 1000000);
16+
$a2 = range(100000, 1999999);
17+
array_intersect($a1, $a2);
18+
?>
19+
--EXPECTF--
20+
Fatal error: Maximum execution time of 1+1 seconds exceeded %s

0 commit comments

Comments
 (0)