Subversion Repositories fastphp

Compare Revisions

Regard whitespace Rev 40 → Rev 41

/trunk/codeexplorer.php
289,6 → 289,10
$lines = array();
while ($f = fgets(STDIN)){
if (trim($f) == chr(1).chr(2).chr(3).chr(4).chr(5).chr(6).chr(7).chr(8)) break;
 
// Signal to terminate the code explorer
if (trim($f) == chr(8).chr(7).chr(6).chr(5).chr(4).chr(3).chr(2).chr(1)) die();
 
$lines[] = $f;
}
return implode("", $lines);