Function __global->rename

Definitions

sources_custom/phpstub.php

  • Renames a file.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$oldname PATH required parameter N/A N/A Old name
$newname PATH required parameter N/A N/A New name
$context ?resource Null N/A N/A A stream context to attach to (null: no special context)

Return

  • Success status
  • Type: boolean
  • Set: N/A
  • Range: N/A