php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #52665 Typo
Submitted: 2010-08-22 10:34 UTC Modified: 2010-08-23 05:18 UTC
From: no at thankyou2010 dot com Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Your website
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
23 - 9 = ?
Subscribe to this entry?

 
 [2010-08-22 10:34 UTC] no at thankyou2010 dot com
Description:
------------
http://php.net/manual/en/function.ftruncate.php

"Note:
If size is larger than the file it is extended with null bytes.
If size is smaller than the extra data will be lost."

The word "file" is missing in the second sentence.

Expected result:
----------------
Lots of ice cream and cookies.

Actual result:
--------------
Confusion.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-23 05:10 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Package: Website problem +Package: Documentation problem -Assigned To: +Assigned To: aharvey
 [2010-08-23 05:18 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=302671
Log: Fix doc bug #52665 (Typo).
 [2010-08-23 05:18 UTC] aharvey@php.net
-Status: Assigned +Status: Closed
 [2010-08-23 05:18 UTC] aharvey@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.

Unfortunately, my cookie dough is currently sitting unloved in my freezer waiting to be baked, but you can have a documentation fix anyway.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC