php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #33701 filesize() issues E_WARNING on error
Submitted: 2005-07-14 17:55 UTC Modified: 2005-07-14 18:06 UTC
From: bjori@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bjori@php.net
New email:
PHP Version: OS:

 

 [2005-07-14 17:55 UTC] 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>



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-14 18:06 UTC] sean@php.net
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.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 16:08:09 2025 UTC