cvs: Zend / zend_execute_API.c
| From: | Rasmus Lerdorf | Date: | Sat, 27 Apr 2002 16:21:00 +0000 |
| Subject: | cvs: Zend / zend_execute_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-78@lists.php.net to get a copy of this message | ||
rasmus Sat Apr 27 12:21:00 2002 EDT
Modified files:
/Zend zend_execute_API.c
Log:
# How do I get at a php core_global from here?
Index: Zend/zend_execute_API.c
diff -u Zend/zend_execute_API.c:1.142 Zend/zend_execute_API.c:1.143
--- Zend/zend_execute_API.c:1.142 Sat Apr 27 10:07:35 2002
+++ Zend/zend_execute_API.c Sat Apr 27 12:20:59 2002
@@ -663,7 +663,10 @@
{
TSRMLS_FETCH();
+ /* We do need to set this here somehow in order for connection_status() to work
+ * as documented in a register_shutdown_function
PG(connection_status) |= PHP_CONNECTION_TIMEOUT;
+ */
zend_error(E_ERROR, "Maximum execution time of %d second%s exceeded",
EG(timeout_seconds), EG(timeout_seconds) == 1 ? "" : "s");
}