private static function isNativeTypeString(string $type_name) : bool { return in_array(str_replace('[]', '', strtolower($type_name)), ['int', 'float', 'bool', 'true', 'string', 'closure', 'callable', 'array', 'null', 'object', 'resource', 'mixed', 'void']); }