php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53174 documentation missing information for move_uploaded_file()
Submitted: 2010-10-26 22:39 UTC Modified: 2010-10-27 10:07 UTC
From: alpinenick at gmail dot com Assigned: salathe (profile)
Status: Closed Package: *General Issues
PHP Version: Irrelevant OS: n/a/
Private report: No CVE-ID: None
 [2010-10-26 22:39 UTC] alpinenick at gmail dot com
Description:
------------
What is the return value if the function succeeds? Thank you. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-26 23:08 UTC] kalle@php.net
-Status: Open +Status: Feedback
 [2010-10-26 23:08 UTC] kalle@php.net
Which function in paticular are you questioning?
 [2010-10-27 06:24 UTC] alpinenick at gmail dot com
-Status: Feedback +Status: Open
 [2010-10-27 06:24 UTC] alpinenick at gmail dot com
Hi, Documentation for move_uploaded_file() only tells me the the return values if 
the function fails but not if success returns a file name or stream points. 
Thanks!  Ref: http://us2.php.net/move_uploaded_file
 [2010-10-27 10:03 UTC] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=304942
Log: Added success return value for move_uploaded_file (fixes doc #53174)
 [2010-10-27 10:05 UTC] salathe@php.net
-Summary: documentation missing information +Summary: documentation missing information for move_uploaded_file() -Status: Open +Status: Closed -Assigned To: +Assigned To: salathe
 [2010-10-27 10:05 UTC] salathe@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Added a note that the function returns TRUE on success.
 [2010-10-27 10:07 UTC] salathe@php.net
Urgh, the wrong generic note was prepended to my last message. The documentation 
has been updated and the changes will be visible when the mirrors update later in 
the week.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 03:01:30 2024 UTC