ID: 26967 Updated by: [EMAIL PROTECTED] Reported By: ivan dot lamouret at caramail dot com -Status: Open +Status: Closed Bug Type: Filesystem function related Operating System: linux PHP Version: 4.3.4 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2004-01-19 13:07:34] ivan dot lamouret at caramail dot com Description: ------------ ftell returns NULL instead of false when passed argument is not a valid filehandle Reproduce code: --------------- $fd=fopen("tmp.txt"); $res=ftell($fdd); var_dump($res); Expected result: ---------------- (bool)false Actual result: -------------- NULL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26967&edit=1
