Date: 08/20/00
- Next message: Sascha Schumann: "[PHP-DEV] Central CHDIR'ing"
- Previous message: Richard Heyes: "[PHP-DEV] PEAR Contribution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: alex <email protected>
Operating system: linux-glibc21
PHP version: 4.0.1pl2
PHP Bug Type: Other
Bug description: misbehaving/badly documented "fgetc($fp)" after EOF
from the PHP manual: " string fgetc (int fp) - Returns a string containing a single character read from the file pointed to by fp. Returns FALSE on EOF (as does feof()).".
After an attempt to retreive char after the EOF fgetc returns 255 on my system. Either the function or the documentation should be corrected. This value 255 is what the clib returns but it does not make sense in PHP.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sascha Schumann: "[PHP-DEV] Central CHDIR'ing"
- Previous message: Richard Heyes: "[PHP-DEV] PEAR Contribution"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

