note 14174 deleted from function.fgets by sniper

From: Date: Sat, 08 Feb 2003 20:09:15 +0000
Subject: note 14174 deleted from function.fgets by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-43658@lists.php.net to get a copy of this message
for icecube and everybody else: there is undocumented difference between fread and fgets: fgets - stops reading on ZERO ASCII CHARACTER - chr(0)- and also doesn't include it in return value c0nclusion: when dealing with binary files you should use fread which is pure binary read have fun

« previous php.notes (#43658) next »