fabpot/Twig — pull request #1053 by drewjw81 (2013-04-12 01:59:44+00:00)
Title: Prevent extensions from clobbering all globals.

It's possible for a poorly written extension to destroy all global variables by returning nothing. This prevents that and throws an E_WARNING to notify the developer.