dosToUnix() public static méthode

Method to convert newlines from DOS to UNIX
public static dosToUnix ( string $string ) : string
$string string
Résultat string
Exemple #1
0
 public function testDosToUnix()
 {
     $this->assertEquals("hello\n", String::dosToUnix("hello\r\n"));
 }