Skip to content

Commit

Permalink
Indicate moveTo() should not write to stream destinations
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Apr 27, 2015
1 parent 12b066d commit 38b43eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion proposed/http-message.md
Expand Up @@ -1662,7 +1662,10 @@ interface UploadedFileInterface
*
* When used in an SAPI environment where $_FILES is populated, when writing
* files via moveTo(), is_uploaded_file() and move_uploaded_file() SHOULD be
* use to ensure permissions and upload status are verified correctly.
* used to ensure permissions and upload status are verified correctly.
*
* If you wish to move to a stream, use getStream(), as SAPI operations
* cannot guarantee writing to stream destinations.
*
* @see http://php.net/is_uploaded_file
* @see http://php.net/move_uploaded_file
Expand Down

0 comments on commit 38b43eb

Please sign in to comment.