facebook/hhvm — pull request #3904 by Majkl578 (2014-10-03 23:39:37+00:00)
Title: Fix calling nested shutdown functions [closes #2981]

PHP allows nesting shutdown functions and ensures, that all will be called in the order they were registered.