diff --git a/main/main.c b/main/main.c index b3ed6cd04d8..8664096f38b 100644 --- a/main/main.c +++ b/main/main.c @@ -500,7 +500,7 @@ PHPAPI void php3_error(int type, const char *format,...) #if HAVE_SETITIMER static void php3_timeout(int dummy) { - TLS_VARS; + PLS_FETCH(); php3_error(E_ERROR, "Maximum execution time of %d seconds exceeded", PG(max_execution_time)); }