Mantis - Quercus
Viewing Issue Advanced Details
2835 major always 08-11-08 12:50 08-14-08 10:38
stephaneeybert  
nam  
normal  
closed 3.1.6  
fixed  
none    
none 3.2.1  
0002835: $value = ereg_replace("(\r\n|\n|\r)$", '', $value); does not remove line breaks on Resin
The following function call does not remove line breaks.

// Remove the trailing line break
$value = ereg_replace("(\r\n|\n|\r)$", '', $value);

It works fine on PHP but not in Resin.

I use it to remove line breaks in language string resources.
I attached a language resource file.
 .compose.fr.php [^] (1,275 bytes) 08-11-08 12:50

Notes
(0003331)
nam   
08-14-08 10:38   
php/153e