<https://github.com/phpinternalsbook/PHP-Internals-Book/blob/d23f273596cbcaafdcb1836a78126924e8c2d29b/Book/php7/extensions_design/php_lifecycle.rst#the-parallelism-models> In my test, under the process based model, MINIT and MSHUTDOWN are only executed once, just like the thread-based model.