fixed in_array
CoreMacros: added support for {var $var}