Added PHP snippets for global variables