|
php_strip_whitespaceReturn source with stripped comments and whitespace Description
string php_strip_whitespace(string
$filename )
Returns the PHP source code in Parameters
Return ValuesThe stripped source code will be returned on success, or an empty string on failure.
Examples
Example #1 php_strip_whitespace example
The above example will output: <?php echo php_strip_whitespace(__FILE__); do_nothing(); ?> Notice the PHP comments are gone, as are the whitespace and newline after the first echo statement. |