source: src/router/php7/Zend/tests/bug74093.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 3 months ago

update php

File size: 513 bytes
Line 
1--TEST--
2Bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log)
3--SKIPIF--
4<?php
5if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
6if (PHP_ZTS) die("skip only for no-zts build");
7if (substr(PHP_OS, 0, 3) == 'WIN') die("skip not for Windows");
8?>
9--INI--
10memory_limit=1G
11max_execution_time=1
12hard_timeout=1
13--FILE--
14<?php
15$a1 = range(1, 1000000);
16$a2 = range(100000, 1999999);
17array_intersect($a1, $a2);
18?>
19--EXPECTF--
20Fatal error: Maximum execution time of 1+1 seconds exceeded %s
Note: See TracBrowser for help on using the repository browser.