preg_replace('/\.|\-/','',$class) before the ReflectionClass. After a few more finagling steps it works. Anyone have an idea if this is a bug, or something stupid i'm doing? It looks like you're new here. If you want to get involved, click one of these buttons!