Complete PHP Misc Reference
The strip_whitespace() function returns the source code of the specified file with PHP comments and whitespace removed.
This function returns an empty string on failure.
| Parameter | Description |
|---|---|
| filename | Required. Specifies the file to strip |
Note: This function only returns an empty string on versions before PHP 5.0.1.
"test.php":
If you select "View source" in the browser window, it will look like this:
Complete PHP Misc Reference
Your message has been sent to W3Schools.