This function's access is marked as private. That means it is not intended for use by plugin and theme developers, but only in other core functions. It is listed here for completeness.
Use any of these functions
Strip close comment and close php tags from file headers used by WP (See Ticket #8497). It is used by get_file_description().