php_strip_whitespace()

It returns the source code of a file with PHP comments and whitespace removed

Example

<?php
echo php_strip_whitespace(“index.php”);
?>

please check the view source and it should be

<?php
echo php_strip_whitespace(“index.php”); ?>

Share