Fix array initialization incompatible with PHP 5.3
Fix parsing of URL in asset reference expansion