update : 2015.11.03
php.shukuma.com검색:
|
php_strip_whitespace(PHP 5) php_strip_whitespace — Return source with stripped comments and whitespace 설명
string php_strip_whitespace
( string
$filename
)
Returns the PHP source code in 인수
반환값The stripped source code will be returned on success, or an empty string on failure.
예제
Example #1 php_strip_whitespace() example
<?php 위 예제의 출력: <?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. |