From: [EMAIL PROTECTED]
Operating system: W98
PHP version: 4.1.1
PHP Bug Type: Filesystem function related
Bug description: Fgets don�t get a file line correctly
I programmed a function that gets lines from file.
/****************************************************/
$desc_fichero= fopen($fichero,"r");
$correcto = $correcto & $desc_fichero;
if($desc_fichero){/*** Si el fichero se abre correctamente ******/
while(!feof($desc_fichero))
{
$linea= fgets($desc_fichero,1000);
$linea = trim($linea);
if (!empty($linea)..........
In version 4.0.6 fgets took the file line as is(Whith all characters).In
newer version 4.1.1.converts the diferent tabs to a one space.Example:
"Hi->->->How are you": 4.1.1= "Hi how are you" .
4.0.6:"Hi->->->How are you":
Thanks
--
Edit bug report at http://bugs.php.net/?id=15550&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15550&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15550&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15550&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15550&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15550&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15550&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15550&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15550&r=submittedtwice