php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&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?qS XzG'ay
files >> /var/www/html/outlet/pusat/php1/tests/function/ |
files >> /var/www/html/outlet/pusat/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\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`