@@ -303,36 +303,6 @@ static PHP_INI_MH(OnSetLogFilter)
303
303
}
304
304
/* }}} */
305
305
306
- /* {{{ PHP_INI_MH */
307
- static PHP_INI_MH (OnUpdateFiberStackSize )
308
- {
309
- zend_long tmp ;
310
- const size_t page_size = zend_fiber_page_size ();
311
-
312
- if (OnUpdateLongGEZero (entry , new_value , mh_arg1 , mh_arg2 , mh_arg3 , stage ) == FAILURE ) {
313
- return FAILURE ;
314
- }
315
-
316
- if (EG (fiber_stack_size ) == 0 ) {
317
- EG (fiber_stack_size ) = page_size * ZEND_FIBER_DEFAULT_PAGE_COUNT ;
318
- return SUCCESS ;
319
- }
320
-
321
- EG (fiber_stack_size ) += ZEND_FIBER_GUARD_PAGES ;
322
-
323
- tmp = page_size * EG (fiber_stack_size );
324
-
325
- if (tmp / page_size != EG (fiber_stack_size )) {
326
- EG (fiber_stack_size ) = page_size * ZEND_FIBER_DEFAULT_PAGE_COUNT ;
327
- return FAILURE ;
328
- }
329
-
330
- EG (fiber_stack_size ) = tmp ;
331
-
332
- return SUCCESS ;
333
- }
334
- /* }}} */
335
-
336
306
/* {{{ php_disable_classes */
337
307
static void php_disable_classes (void )
338
308
{
@@ -768,8 +738,6 @@ PHP_INI_BEGIN()
768
738
STD_PHP_INI_ENTRY ("syslog.facility" , "LOG_USER" , PHP_INI_SYSTEM , OnSetFacility , syslog_facility , php_core_globals , core_globals )
769
739
STD_PHP_INI_ENTRY ("syslog.ident" , "php" , PHP_INI_SYSTEM , OnUpdateString , syslog_ident , php_core_globals , core_globals )
770
740
STD_PHP_INI_ENTRY ("syslog.filter" , "no-ctrl" , PHP_INI_ALL , OnSetLogFilter , syslog_filter , php_core_globals , core_globals )
771
-
772
- STD_PHP_INI_ENTRY ("fiber.stack_size" , "0" , PHP_INI_ALL , OnUpdateFiberStackSize , fiber_stack_size , zend_executor_globals , executor_globals )
773
741
PHP_INI_END ()
774
742
/* }}} */
775
743
0 commit comments