From: [EMAIL PROTECTED]
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: filesize() issues E_WARNING on error
Description:
------------
Index: filesize.xml
===================================================================
RCS file:
/repository/phpdoc/en/reference/filesystem/functions/filesize.xml,v
retrieving revision 1.6
diff -u -u -r1.6 filesize.xml
--- filesize.xml 29 Nov 2003 16:39:55 -0000 1.6
+++ filesize.xml 14 Jul 2005 15:48:15 -0000
@@ -13,7 +13,8 @@
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<para>
- Returns the size of the file in bytes, or &false; in case of an
error.
+ Returns the size of the file in bytes, or &false; in case of an
error and
+ an error of level <constant>E_WARNING</constant> will be issued.
</para>
<note>
<simpara>
--
Edit bug report at http://bugs.php.net/?id=33701&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33701&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=33701&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=33701&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33701&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33701&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33701&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33701&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33701&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33701&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33701&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=33701&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=33701&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33701&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33701&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33701&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33701&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33701&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33701&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33701&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33701&r=mysqlcfg