--- ./Zend/zend_execute_API.c.orig 2010-03-22 15:33:17.000000000 +0100 +++ ./Zend/zend_execute_API.c 2010-03-22 15:33:01.000000000 +0100 @@ -1302,6 +1302,9 @@ ZEND_API void zend_timeout(int dummy) /* {{{ */ { + zend_error(E_WARNING, "Maximum execution time of %d second%s exceeded. Execution will shut down in 1 second.", EG(timeout_seconds), EG(timeout_seconds) == 1 ? "" : "s"); + sleep(1); + TSRMLS_FETCH(); if (zend_on_timeout) {