// This is a sample inline comment $formatted_comment = formatComment($comment, 'inline'); // Output: // This is a sample inline comment
/* * This is a sample block comment */ $formatted_comment = formatComment($comment, 'block'); // Output: /* This is a sample block comment */
/** * This is a sample docblock comment */ $formatted_comment = formatComment($comment, 'docblock'); // Output: /** This is a sample docblock comment */The formatComment function is part of the PHP_Linker package library.