See PHI1786. Because declare(ticks=1) is no longer scoped, debug.time-limit can no longer install a global tick handler and no longer works. To reproduce this:
- Set debug.time-limit to 10.
- Put a sleep(15) on a page.
- Run things under PHP 5 and get a useful stack trace.
- Run things under PHP 7 and get a 15-second request that effectively ignores debug.time-limit.
I don't immediately see a way to support this behavior under PHP7, so it may be easiest to simply remove it.