PHP global function calling from twig has been changed!