1--TEST-- 2Timeout within shutdown function, variation 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--XFAIL-- 9Missing timeout check in call_user_function 10--FILE-- 11<?php 12 13set_time_limit(1); 14 15register_shutdown_function("sleep", 1); 16register_shutdown_function("sleep", 1); 17 18?> 19shutdown happens after here 20--EXPECTF-- 21shutdown happens after here 22Fatal error: Maximum execution time of 1 second exceeded in %s on line %d 23