Menu Riverview Church

PHP_STRIP_WHITESPACE

Return source with stripped comments and whitespace

SYNTAX

php_strip_whitespace ( string $filename ) : string

PARAMETERS

filename

Path to the PHP file.

RETURN

The stripped source code will be returned on success, or an empty string on failure.

Note: This function respects the value of the short_open_tag ini directive.

EXAMPLES

<? echo php_strip_whitespace(__FILE__); ?>

PHP