mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
(return_one) removed.
(OnChangeMemoryLimit) Only defined if MEMORY_LIMIT is defined.
This commit is contained in:
parent
b68f3af503
commit
158979f838
@ -135,6 +135,7 @@ static PHP_INI_MH(OnChangeMaxExecutionTime)
|
||||
}
|
||||
|
||||
|
||||
#if MEMORY_LIMIT
|
||||
static PHP_INI_MH(OnChangeMemoryLimit)
|
||||
{
|
||||
int new_limit;
|
||||
@ -146,6 +147,7 @@ static PHP_INI_MH(OnChangeMemoryLimit)
|
||||
}
|
||||
return zend_set_memory_limit(new_limit);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
static PHP_INI_MH(OnUpdateErrorReporting)
|
||||
@ -790,12 +792,6 @@ void php_request_shutdown_for_exec(void *dummy)
|
||||
}
|
||||
|
||||
|
||||
static int return_one(void *p)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
void php_request_shutdown(void *dummy)
|
||||
{
|
||||
CLS_FETCH();
|
||||
|
Loading…
Reference in New Issue
Block a user