|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-01-19 13:18 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 02:00:01 2025 UTC |
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