summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-05-17 19:45:46 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-05-17 19:45:46 +0000
commit31c3dfdf529253869bd82d36bf53cb62ebb8de3c (patch)
tree2d0cf6b9ed1db3e09b58a6bc44a95337cd9804c4 /main/main.c
parentd7779d8bdfc7438a178ce17290f685520359e1ff (diff)
downloadphp-git-31c3dfdf529253869bd82d36bf53cb62ebb8de3c.tar.gz
proto-takeover from php3
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c
index 80fe5455e4..44107bcf73 100644
--- a/main/main.c
+++ b/main/main.c
@@ -502,7 +502,8 @@ static void php_unset_timeout(void)
#endif
}
-
+/* {{{ proto void set_time_limit(int seconds)
+ Sets the maximum time a script can run */
PHP_FUNCTION(set_time_limit)
{
pval *new_timeout;
@@ -529,7 +530,7 @@ PHP_FUNCTION(set_time_limit)
php_unset_timeout();
php_set_timeout(new_timeout->value.lval);
}
-
+/* }}} */
static FILE *php_fopen_wrapper_for_zend(const char *filename, char **opened_path)
{