The PHP php_strip_whitespace() function returns the source code of the specified file with PHP comments and whitespace removed.

				
					<?php
echo php_strip_whitespace('test.php');
?>
				
			

Syntax

				
					php_strip_whitespace(filename)