Search all classes within a given php code as string