note 82003 added to function.is-file

From: Date: Mon, 24 Mar 2008 00:23:34 +0000
Subject: note 82003 added to function.is-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-137449@lists.php.net to get a copy of this message
In 32 bit environments, these functions including is_file(), stat() filesize() will not work due to PHPs default integer being signed. So anything above ~2.1 billion bytes you actually get a negative value. This is actually a bug but I dont think there is an easy workaround. Try to switch to 64 bit. ---- Server IP: 209.41.74.194 Probable Submitter: 76.118.33.36 ---- Manual Page -- http://www.php.net/manual/en/function.is-file.php Edit -- https://master.php.net/note/edit/82003 Del: integrated -- https://master.php.net/note/delete/82003/integrated Del: useless -- https://master.php.net/note/delete/82003/useless Del: bad code -- https://master.php.net/note/delete/82003/bad+code Del: spam -- https://master.php.net/note/delete/82003/spam Del: non-english -- https://master.php.net/note/delete/82003/non-english Del: in docs -- https://master.php.net/note/delete/82003/in+docs Del: other reasons-- https://master.php.net/note/delete/82003 Reject -- https://master.php.net/note/reject/82003 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#137449) next »