Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
php_strip_whitespace() function in PHP
The php_strip_whitespace() function returns source with stripped comments and whitespace.
Syntax
php_strip_whitespace(file_path)
Parameters
file_path − The path of file.
Return
The php_strip_whitespace() function returns stripped source code on success.
Example
The above code strip all the comments and whitespace.
Advertisements
