fabpot/Twig — pull request #560 by arnaud-lb (2011-12-16 19:44:50+00:00)
Title: Fix crash in twig_template_get_attributes when input is not an array or object

This fixes a crash when the input of twig_template_get_attributes() is not an array or object, and strict mode is enabled.