On 02.01.2014 12:35, Iain Buclaw wrote:
Special symbols can be suffixed with a $ perhaps. I can't think of any other symbol that would work. __init -> init$ __Class -> classinfo$ __vtbl -> vtable$ __interface -> interfaceinfo$ __ModuleInfo -> moduleinfo$ The alternative is to just go for prefixing with double underscore, given that the names are OK? __init -> __init __Class -> __classinfo __vtbl -> __vtable __interface -> __interfaceinfo __ModuleInfo -> __moduleinfo
I think double underscores should be hint enough to suggest "compiler generated stuff". Prepending $ might confuse expression evaluators (e.g. mago).
I always wondered why these symbols don't follow the standard mangling to start with...
