#33701 [Opn->Csd]: filesize() issues E_WARNING on error

From: Date: Thu, 14 Jul 2005 16:06:06 +0000
Subject: #33701 [Opn->Csd]: filesize() issues E_WARNING on error
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969369136@lists.php.net to get a copy of this message
ID: 33701 Updated by: sean@php.net Reported By: bjori@php.net -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Changed to: - 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; (and generates an error + of level <constant>E_WARNING</constant>) in case of an error. Previous Comments: ------------------------------------------------------------------------ [2005-07-14 17:55:00] bjori@php.net 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 this bug report at http://bugs.php.net/?id=33701&edit=1

« previous php.doc (#969369136) next »