gives me an unexpecected T_DEFAULT, is there any way of working around this? Can I escape the reserved word somehow?
You can't use reserved words like default for namespaces in PHP - you'll have to find a workaround (_default, default_, default1 etc.?).
default
_default
default_
default1