= 32 && ord($char) < 127) { $printStr .= $char; } else { $printStr .= "."; } } $outStr .= " | " . $printStr . "\n"; } return $outStr; } }