private static function exportSymbol(string $symbol, bool $mightBeRootConst, string $namespace) : string { if (!$mightBeRootConst || false === ($ns = strrpos($symbol, '\\')) || substr($symbol, 0, $ns) !== $namespace || \defined($symbol) || !\defined(substr($symbol, $ns + 1))) { return '\\' . $symbol; } return '\\' . substr($symbol, $ns + 1); }