File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments