File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1997,16 +1997,16 @@ void php_request_shutdown(void *dummy)
19971997 zend_unset_timeout ();
19981998 } zend_end_try ();
19991999
2000- /* 5. Call all extensions RSHUTDOWN functions */
2001- if (PG (modules_activated )) {
2002- zend_deactivate_modules ();
2003- }
2004-
2005- /* 6. Shutdown output layer (send the set HTTP headers, cleanup output handlers, etc.) */
2000+ /* 5. Shutdown output layer (send the set HTTP headers, cleanup output handlers, etc.) */
20062001 zend_try {
20072002 php_output_deactivate ();
20082003 } zend_end_try ();
20092004
2005+ /* 6. Call all extensions RSHUTDOWN functions */
2006+ if (PG (modules_activated )) {
2007+ zend_deactivate_modules ();
2008+ }
2009+
20102010 /* 7. Free shutdown functions */
20112011 if (PG (modules_activated )) {
20122012 php_free_shutdown_functions ();
You can’t perform that action at this time.
0 commit comments