Function __global->move_uploaded_file
Definitions
sources_custom/phpstub.php
- {{creates-file}}}}
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
-
Flags:
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $filename | PATH | No | No | required parameter | N/A | N/A | Filename to move (taken from tmpname element of $_FILES list entry) |
| $destination | PATH | No | No | required parameter | N/A | N/A | Path to move file to (preferably containing filename component) |
Returns
- The success status
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* {{creates-file}}}}
*
* @param PATH $filename Filename to move (taken from tmpname element of $_FILES list entry)
* @param PATH $destination Path to move file to (preferably containing filename component)
* @return boolean The success status
*/
function move_uploaded_file(string $filename, string $destination) : bool
* {{creates-file}}}}
*
* @param PATH $filename Filename to move (taken from tmpname element of $_FILES list entry)
* @param PATH $destination Path to move file to (preferably containing filename component)
* @return boolean The success status
*/
function move_uploaded_file(string $filename, string $destination) : bool

