Is there a way to set up default function arguments with variables in them such as
function example($test = 'abc', $image = $scripturl . 'abc.png')
{
// ...
}
The reason I want to do this is because I have sources that I have global variable settings with the path set up so that it is easy to grab when I need to include a css file or image.
The code above gives an unexpected T_VARIABLE...