1--TEST--
2Timeout within call_user_func
3--SKIPIF--
4<?php
5if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
6if (PHP_OS_FAMILY !== "Windows") die("skip Windows only test");
7?>
8--FILE--
9<?php
10
11set_time_limit(1);
12
13call_user_func('sleep', 1);
14call_user_func('sleep', 1);
15
16?>
17never reached here
18--EXPECTF--
19Fatal error: Maximum execution time of 1 second exceeded in %s on line %d
20