|
php_strip_whitespaceReturn source with stripped comments and whitespace Beschreibung
string php_strip_whitespace
( string
$filename
)
Returns the PHP source code in Parameter-Liste
RückgabewerteThe stripped source code will be returned on success, or an empty string on failure.
Beispiele
Beispiel #1 php_strip_whitespace example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: <?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. |